Gate::after()

$this after(callable $callback) Register a callback to run after all Gate checks. Parameters callable $callback Return Value $this

Gate::after()

$this after(callable $callback) Register a callback to run after all Gate checks. Parameters callable $callback Return Value $this

Gate

Gate class Gate extends Facade (View source) Methods static void swap(mixed $instance) Hotswap the underlying instance behind the facade. from Facade static Expectation shouldReceive() Initiate a mock expectation on the facade. from Facade static mixed getFacadeRoot() Get the root object behind the facade. from Facade static void clearResolvedInstance(string $name) Clear a resolved facade instance. from Facade static void clearResolvedInstances() Clear all of the resolved

Gate

Gate interface Gate (View source) Methods bool has(string $ability) Determine if a given ability has been defined. $this define(string $ability, callable|string $callback) Define a new ability. $this policy(string $class, string $policy) Define a policy class for a given class type. $this before(callable $callback) Register a callback to run before all Gate checks. $this after(callable $callback) Register a callback to run after all Gate checks. bool allows(string

Gate

Gate class Gate implements Gate (View source) Traits HandlesAuthorization

FrameGuard::__construct()

void __construct(HttpKernelInterface $app) Create a new FrameGuard instance. Parameters HttpKernelInterface $app Return Value void

FrameGuard::handle()

Response handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) Handle the given request and get the response. Parameters Request $request int $type bool $catch Return Value Response

FrameGuard::handle()

Response handle(Request $request, Closure $next) Handle the given request and get the response. Parameters Request $request Closure $next Return Value Response

FrameGuard

FrameGuard class FrameGuard implements HttpKernelInterface (View source) Methods void __construct(HttpKernelInterface $app) Create a new FrameGuard instance. Response handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) Handle the given request and get the response.

FrameGuard

FrameGuard class FrameGuard (View source) Methods Response handle(Request $request, Closure $next) Handle the given request and get the response.