PHP Class WoohooLabs\Harmony\Condition\PathPrefixCondition

Inheritance: implements WoohooLabs\Harmony\Condition\ConditionInterface
Afficher le fichier Open project: woohoolabs/harmony

Protected Properties

Свойство Type Description
$pathPrefixes

Méthodes publiques

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

Method Details

__construct() public méthode

public __construct ( array $pathPrefixes )
$pathPrefixes array

evaluate() public méthode

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

Property Details

$pathPrefixes protected_oe property

protected $pathPrefixes