| Conditions | 3 | 
| Paths | 3 | 
| Total Lines | 12 | 
| Code Lines | 6 | 
| Lines | 0 | 
| Ratio | 0 % | 
| 1 | <?php | ||
| 17 | public function __construct() | ||
| 18 |     { | ||
| 19 | $specifications = func_get_args(); | ||
| 20 | |||
| 21 |         foreach ($specifications as $specification) { | ||
| 22 |             if (!$specification instanceof SpecificationInterface) { | ||
| 23 |                 throw new \InvalidArgumentException('Argument should implement '  . SpecificationInterface::class); | ||
| 24 | } | ||
| 25 | } | ||
| 26 | |||
| 27 | $this->specifications = $specifications; | ||
| 28 | } | ||
| 29 | |||
| 44 |