Conditions | 3 |
Paths | 3 |
Total Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
31 | public function __construct(array $specifications, RequestInterface $request) |
||
32 | { |
||
33 | foreach ($specifications as $specification) { |
||
34 | if (! $specification instanceof RouteMatchSpecificationInterface) { |
||
35 | throw new InvalidEntityException( |
||
36 | $specification, |
||
37 | 'EventEspresso\core\domain\entities\routing\specifications\RouteMatchSpecificationInterface' |
||
38 | ); |
||
39 | } |
||
40 | } |
||
41 | $this->specifications = $specifications; |
||
42 | parent::__construct($request); |
||
43 | } |
||
44 | } |
||
45 |