PHP Class WoohooLabs\Harmony\Condition\PathPrefixCondition

Inheritance: implements WoohooLabs\Harmony\Condition\ConditionInterface
ファイルを表示 Open project: woohoolabs/harmony

Protected Properties

Property Type Description
$pathPrefixes

Public Methods

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

Method Details

__construct() public method

public __construct ( array $pathPrefixes )
$pathPrefixes 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

$pathPrefixes protected_oe property

protected $pathPrefixes