51 lines
1.4 KiB
YAML
51 lines
1.4 KiB
YAML
name: GateEvaluated
|
|
class_comment: null
|
|
dependencies: []
|
|
properties:
|
|
- name: user
|
|
visibility: public
|
|
comment: '# * The authenticatable model.
|
|
|
|
# *
|
|
|
|
# * @var \Illuminate\Contracts\Auth\Authenticatable|null'
|
|
- name: ability
|
|
visibility: public
|
|
comment: '# * The ability being evaluated.
|
|
|
|
# *
|
|
|
|
# * @var string'
|
|
- name: result
|
|
visibility: public
|
|
comment: '# * The result of the evaluation.
|
|
|
|
# *
|
|
|
|
# * @var bool|null'
|
|
- name: arguments
|
|
visibility: public
|
|
comment: '# * The arguments given during evaluation.
|
|
|
|
# *
|
|
|
|
# * @var array'
|
|
methods:
|
|
- name: __construct
|
|
visibility: public
|
|
parameters:
|
|
- name: user
|
|
- name: ability
|
|
- name: result
|
|
- name: arguments
|
|
comment: "# * The authenticatable model.\n# *\n# * @var \\Illuminate\\Contracts\\\
|
|
Auth\\Authenticatable|null\n# */\n# public $user;\n# \n# /**\n# * The ability\
|
|
\ being evaluated.\n# *\n# * @var string\n# */\n# public $ability;\n# \n# /**\n\
|
|
# * The result of the evaluation.\n# *\n# * @var bool|null\n# */\n# public $result;\n\
|
|
# \n# /**\n# * The arguments given during evaluation.\n# *\n# * @var array\n#\
|
|
\ */\n# public $arguments;\n# \n# /**\n# * Create a new event instance.\n# *\n\
|
|
# * @param \\Illuminate\\Contracts\\Auth\\Authenticatable|null $user\n# * @param\
|
|
\ string $ability\n# * @param bool|null $result\n# * @param array $arguments\n\
|
|
# * @return void"
|
|
traits: []
|
|
interfaces: []
|