Открытые члены | |
__construct (string $origin=null, bool $credentials=false) | |
onBeforeAction (Main\Event $event) | |
onAfterAction (Main\Event $event) | |
setAllowedMethods (array $methods) | |
setAllowedHeaders (array $headers) | |
Открытые члены унаследованные от Base | |
__construct () | |
bindAction (Action $action) | |
getAction () | |
listAllowedScopes () | |
onBeforeAction (Event $event) | |
onAfterAction (Event $event) | |
getErrors () | |
getErrorByCode ($code) | |
Дополнительные унаследованные члены | |
Открытые статические члены унаследованные от Base | |
static | className () |
Защищенные члены унаследованные от Base | |
addError (Error $error) | |
Защищенные данные унаследованные от Base | |
$errorCollection | |
$action | |
__construct | ( | string | $origin = null, |
bool | $credentials = false ) |
Constructor.
string | null | $origin | Origin. NULL - take from Origin header, '*' or like 'https://example.com'. |
bool | $credentials | Set header Access-Control-Allow-Credentials . |
onAfterAction | ( | Main\Event | $event | ) |
onBeforeAction | ( | Main\Event | $event | ) |