| 1 | <?php |
||
| 18 | abstract class BinarySpecification extends Specification |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * @var SpecificationInterface |
||
| 22 | */ |
||
| 23 | protected $left; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @var SpecificationInterface |
||
| 27 | */ |
||
| 28 | protected $right; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @param SpecificationInterface $left |
||
| 32 | * @param SpecificationInterface $right |
||
| 33 | */ |
||
| 34 | public function __construct(SpecificationInterface $left, SpecificationInterface $right) |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @return \Cubiche\Core\Specification\SpecificationInterface |
||
| 42 | */ |
||
| 43 | public function left() |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @return \Cubiche\Core\Specification\SpecificationInterface |
||
| 50 | */ |
||
| 51 | public function right() |
||
| 55 | } |
||
| 56 |