| 1 | <?php  | 
            ||
| 16 | class ObviousSpecificationQuery implements SpecificationQuery  | 
            ||
| 17 | { | 
            ||
| 18 | /**  | 
            ||
| 19 | * @var string  | 
            ||
| 20 | */  | 
            ||
| 21 | private $entity = '';  | 
            ||
| 22 | |||
| 23 | /**  | 
            ||
| 24 | * @var Specification  | 
            ||
| 25 | */  | 
            ||
| 26 | private $spec = '';  | 
            ||
| 27 | |||
| 28 | /**  | 
            ||
| 29 | * @var ResultModifier|null  | 
            ||
| 30 | */  | 
            ||
| 31 | private $modifier = '';  | 
            ||
| 32 | |||
| 33 | /**  | 
            ||
| 34 | * @param string $entity  | 
            ||
| 35 | * @param Specification $spec  | 
            ||
| 36 | * @param ResultModifier|null $modifier  | 
            ||
| 37 | */  | 
            ||
| 38 | 2 | public function __construct($entity, Specification $spec, ResultModifier $modifier = null)  | 
            |
| 44 | |||
| 45 | /**  | 
            ||
| 46 | * @return string  | 
            ||
| 47 | */  | 
            ||
| 48 | 2 | public function entity()  | 
            |
| 52 | |||
| 53 | /**  | 
            ||
| 54 | * @return Specification  | 
            ||
| 55 | */  | 
            ||
| 56 | 2 | public function spec()  | 
            |
| 60 | |||
| 61 | /**  | 
            ||
| 62 | * @return ResultModifier|null  | 
            ||
| 63 | */  | 
            ||
| 64 | 2 | public function modifier()  | 
            |
| 68 | }  | 
            ||
| 69 |