PHP Class WoohooLabs\Harmony\Condition\HttpMethodCondition

Inheritance: implements WoohooLabs\Harmony\Condition\ConditionInterface
Mostra file Open project: woohoolabs/harmony

Protected Properties

Property Type Description
$methods

Public Methods

Method Description
__construct ( array $methods )
evaluate ( Psr\Http\Message\ServerRequestInterface $request, Psr\Http\Message\ResponseInterface $response ) : boolean

Method Details

__construct() public method

public __construct ( array $methods )
$methods array

evaluate() public method

public evaluate ( Psr\Http\Message\ServerRequestInterface $request, Psr\Http\Message\ResponseInterface $response ) : boolean
$request Psr\Http\Message\ServerRequestInterface
$response Psr\Http\Message\ResponseInterface
return boolean

Property Details

$methods protected_oe property

protected $methods