| 1 | <?php |
||
| 8 | class ChainMatchingPolicy implements MatchingPolicy |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var array|MatchingPolicy[] |
||
| 12 | */ |
||
| 13 | private $matchingPolicies; |
||
| 14 | |||
| 15 | public function __construct() |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param Request $request |
||
| 22 | * @param Element $config |
||
| 23 | * @return bool |
||
| 24 | */ |
||
| 25 | public function match(Request $request, Element $config) |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @param MatchingPolicy $matchingPolicy |
||
| 42 | */ |
||
| 43 | public function addMatchingPolicy(MatchingPolicy $matchingPolicy) |
||
| 47 | } |
||
| 48 |