Class HttpMethodListener

Summary

Fully Qualified Name: Zend\Mvc\HttpMethodListener
Extends: AbstractListenerAggregate

Description

Methods

Name Description Defined By
__construct() HttpMethodListener
attach() {@inheritdoc} HttpMethodListener
detach() {@inheritDoc} AbstractListenerAggregate
getAllowedMethods() HttpMethodListener
isEnabled() HttpMethodListener
onRoute() HttpMethodListener
setAllowedMethods() HttpMethodListener
setEnabled() HttpMethodListener

Method Details

__construct()

Parameter Name Type Description
$enabled bool
$allowedMethods array

Returns:

attach()

{@inheritdoc}

Parameter Name Type Description
$events
$priority

Returns:

detach()

{@inheritDoc}

Parameter Name Type Description
$events

Returns:

getAllowedMethods()

Returns: array

isEnabled()

Returns: bool

onRoute()

Parameter Name Type Description
$e \MvcEvent

Returns: void|\HttpResponse

setAllowedMethods()

Parameter Name Type Description
$allowedMethods array

Returns:

setEnabled()

Parameter Name Type Description
$enabled bool

Returns:

Top