trait HasMiddleware (View source)

Properties

protected string[] $middleware
protected string[] $authMiddleware
protected string[] $tenantMiddleware
protected string[] $livewirePersistentMiddleware

Methods

middleware(array $middleware, bool $isPersistent = false)

No description

authMiddleware(array $middleware, bool $isPersistent = false)

No description

tenantMiddleware(array $middleware, bool $isPersistent = false)

No description

persistentMiddleware(array $middleware)

No description

array
getMiddleware()

No description

array
getAuthMiddleware()

No description

array
getTenantMiddleware()

No description

void

Details

HasMiddleware middleware(array $middleware, bool $isPersistent = false)

No description

Parameters

array $middleware
bool $isPersistent

Return Value

HasMiddleware

HasMiddleware authMiddleware(array $middleware, bool $isPersistent = false)

No description

Parameters

array $middleware
bool $isPersistent

Return Value

HasMiddleware

HasMiddleware tenantMiddleware(array $middleware, bool $isPersistent = false)

No description

Parameters

array $middleware
bool $isPersistent

Return Value

HasMiddleware

HasMiddleware persistentMiddleware(array $middleware)

No description

Parameters

array $middleware

Return Value

HasMiddleware

array getMiddleware()

No description

Return Value

array

array getAuthMiddleware()

No description

Return Value

array

array getTenantMiddleware()

No description

Return Value

array

protected void registerLivewirePersistentMiddleware()

No description

Return Value

void