CallbackPolicy
class CallbackPolicy implements PolicyInterface (View source)
The CallbackPolicy class.
Methods
__construct(callable $handler)
CallbackPolicy constructor.
boolean
authorise(mixed $user, mixed $data = null)
authorise
callable
getHandler()
Method to get property Handler
setHandler(callable $handler)
Method to set property handler
Details
at line line 30
__construct(callable $handler)
CallbackPolicy constructor.
at line line 43
boolean
authorise(mixed $user, mixed $data = null)
authorise
at line line 53
callable
getHandler()
Method to get property Handler
at line line 65
CallbackPolicy
setHandler(callable $handler)
Method to set property handler