| 1 | <?php |
||
| 27 | abstract class ComposedSpecification extends AbstractSpecification |
||
| 28 | { |
||
| 29 | private $specification; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * The composed specification. |
||
| 33 | * |
||
| 34 | * @return Specification |
||
| 35 | */ |
||
| 36 | abstract protected function getSpecification(); |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @inheritDoc |
||
| 40 | */ |
||
| 41 | public function getRule() |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @inheritDoc |
||
| 50 | */ |
||
| 51 | public function getParameters() |
||
| 57 | |||
| 58 | private function initializeSpecification() |
||
| 66 | } |
||
| 67 |