Property | Type | Description | |
---|---|---|---|
$allowedMethods | array | ||
$enabled | boolean |
Method | Description | |
---|---|---|
__construct ( boolean $enabled = true, array $allowedMethods = [] ) | ||
attach ( Zend\EventManager\EventManagerInterface $events, $priority = 1 ) | ||
getAllowedMethods ( ) : array | ||
isEnabled ( ) : boolean | ||
onRoute ( |
||
setAllowedMethods ( array $allowedMethods ) | ||
setEnabled ( boolean $enabled ) |
public __construct ( boolean $enabled = true, array $allowedMethods = [] ) | ||
$enabled | boolean | |
$allowedMethods | array |
public attach ( Zend\EventManager\EventManagerInterface $events, $priority = 1 ) | ||
$events | Zend\EventManager\EventManagerInterface |
public setAllowedMethods ( array $allowedMethods ) | ||
$allowedMethods | array |