class Requires

Restricts access to actions, signals, or entire presenter. Can enforce HTTP methods (GET, POST, etc.), limit to specific actions, allow only forwarded requests, enforce or bypass same-origin policy (CSRF protection), or require AJAX calls.

Properties

$methods
$actions

Methods

__construct(string|array|null $methods = null, string|array|null $actions = null, bool|null $forward = null, bool|null $sameOrigin = null, bool|null $ajax = null)

No description

Details

at line 22
__construct(string|array|null $methods = null, string|array|null $actions = null, bool|null $forward = null, bool|null $sameOrigin = null, bool|null $ajax = null)

No description

Parameters

string|array|null $methods
string|array|null $actions
bool|null $forward
bool|null $sameOrigin
bool|null $ajax