| Total Complexity | 5 |
| Total Lines | 67 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class GenerationDetails |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var ReaderInterface |
||
| 14 | */ |
||
| 15 | private $source; |
||
| 16 | /** |
||
| 17 | * @var MappingInterface |
||
| 18 | */ |
||
| 19 | private $mapping; |
||
| 20 | /** |
||
| 21 | * @var SpecificationInterface |
||
| 22 | */ |
||
| 23 | private $specification; |
||
| 24 | /** |
||
| 25 | * @var FilterInterface[] |
||
| 26 | */ |
||
| 27 | private $filters; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @param ReaderInterface $source |
||
| 31 | * @param MappingInterface $mapping |
||
| 32 | * @param SpecificationInterface $specification |
||
| 33 | * @param FilterInterface[] $filters |
||
| 34 | */ |
||
| 35 | public function __construct( |
||
| 36 | ReaderInterface $source, |
||
| 37 | MappingInterface $mapping, |
||
| 38 | SpecificationInterface $specification, |
||
| 39 | array $filters = [] |
||
| 40 | ) { |
||
| 41 | $this->source = $source; |
||
| 42 | $this->mapping = $mapping; |
||
| 43 | $this->specification = $specification; |
||
| 44 | $this->filters = $filters; |
||
| 45 | } |
||
| 46 | |||
| 47 | /** |
||
| 48 | * @return ReaderInterface |
||
| 49 | */ |
||
| 50 | public function getSource() |
||
| 53 | } |
||
| 54 | |||
| 55 | /** |
||
| 56 | * @return MappingInterface |
||
| 57 | */ |
||
| 58 | public function getMapping() |
||
| 59 | { |
||
| 60 | return $this->mapping; |
||
| 61 | } |
||
| 62 | |||
| 63 | /** |
||
| 64 | * @return SpecificationInterface |
||
| 65 | */ |
||
| 66 | public function getSpecification() |
||
| 67 | { |
||
| 68 | return $this->specification; |
||
| 69 | } |
||
| 70 | |||
| 71 | /** |
||
| 72 | * @return FilterInterface[] |
||
| 73 | */ |
||
| 74 | public function getFilters() |
||
| 77 | } |
||
| 78 | } |
||
| 79 |