99 lines
2.1 KiB
YAML
99 lines
2.1 KiB
YAML
|
name: QueryException
|
||
|
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:
|
||
|
- name: connectionName
|
||
|
visibility: public
|
||
|
comment: '# * The database connection name.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @var string'
|
||
|
- name: sql
|
||
|
visibility: protected
|
||
|
comment: '# * The SQL for the query.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @var string'
|
||
|
- name: bindings
|
||
|
visibility: protected
|
||
|
comment: '# * The bindings for the query.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @var array'
|
||
|
methods:
|
||
|
- name: __construct
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: connectionName
|
||
|
- name: sql
|
||
|
- name: bindings
|
||
|
- name: previous
|
||
|
comment: "# * The database connection name.\n# *\n# * @var string\n# */\n# public\
|
||
|
\ $connectionName;\n# \n# /**\n# * The SQL for the query.\n# *\n# * @var string\n\
|
||
|
# */\n# protected $sql;\n# \n# /**\n# * The bindings for the query.\n# *\n# *\
|
||
|
\ @var array\n# */\n# protected $bindings;\n# \n# /**\n# * Create a new query\
|
||
|
\ exception instance.\n# *\n# * @param string $connectionName\n# * @param string\
|
||
|
\ $sql\n# * @param array $bindings\n# * @param \\Throwable $previous\n# *\
|
||
|
\ @return void"
|
||
|
- name: formatMessage
|
||
|
visibility: protected
|
||
|
parameters:
|
||
|
- name: connectionName
|
||
|
- name: sql
|
||
|
- name: bindings
|
||
|
- name: previous
|
||
|
comment: '# * Format the SQL error message.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @param string $connectionName
|
||
|
|
||
|
# * @param string $sql
|
||
|
|
||
|
# * @param array $bindings
|
||
|
|
||
|
# * @param \Throwable $previous
|
||
|
|
||
|
# * @return string'
|
||
|
- name: getConnectionName
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: '# * Get the connection name for the query.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @return string'
|
||
|
- name: getSql
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: '# * Get the SQL for the query.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @return string'
|
||
|
- name: getBindings
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: '# * Get the bindings for the query.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @return array'
|
||
|
traits:
|
||
|
- Illuminate\Support\Str
|
||
|
- PDOException
|
||
|
- Throwable
|
||
|
interfaces: []
|