31 lines
612 B
YAML
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: []
|