api/laravel/Database/DetectsConcurrencyErrors.yaml
2024-09-26 02:03:21 -07:00

31 lines
612 B
YAML

name: DetectsConcurrencyErrors
class_comment: null
dependencies:
- name: Str
type: class
source: Illuminate\Support\Str
- name: PDOException
type: class
source: PDOException
- name: Throwable
type: class
source: Throwable
properties: []
methods:
- name: causedByConcurrencyError
visibility: protected
parameters:
- name: e
comment: '# * Determine if the given exception was caused by a concurrency error
such as a deadlock or serialization failure.
# *
# * @param \Throwable $e
# * @return bool'
traits:
- Illuminate\Support\Str
- PDOException
- Throwable
interfaces: []