| Total Complexity | 4 |
| Total Lines | 51 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class YamlStandardConfigSingleStandardData |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var \YamlStandards\Model\CheckerInterface |
||
| 14 | */ |
||
| 15 | private $checker; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var \YamlStandards\Model\FixerInterface|null |
||
| 19 | */ |
||
| 20 | private $fixer; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var \YamlStandards\Model\Config\StandardParametersData |
||
| 24 | */ |
||
| 25 | private $standardParametersData; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @param \YamlStandards\Model\CheckerInterface $checker |
||
| 29 | * @param \YamlStandards\Model\FixerInterface|null $fixer |
||
| 30 | * @param \YamlStandards\Model\Config\StandardParametersData $standardParametersData |
||
| 31 | */ |
||
| 32 | public function __construct(CheckerInterface $checker, ?FixerInterface $fixer, StandardParametersData $standardParametersData) |
||
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @return \YamlStandards\Model\CheckerInterface |
||
| 41 | */ |
||
| 42 | public function getChecker(): CheckerInterface |
||
| 43 | { |
||
| 44 | return $this->checker; |
||
| 45 | } |
||
| 46 | |||
| 47 | /** |
||
| 48 | * @return \YamlStandards\Model\FixerInterface|null |
||
| 49 | */ |
||
| 50 | public function getFixer(): ?FixerInterface |
||
| 51 | { |
||
| 52 | return $this->fixer; |
||
| 53 | } |
||
| 54 | |||
| 55 | /** |
||
| 56 | * @return \YamlStandards\Model\Config\StandardParametersData |
||
| 57 | */ |
||
| 58 | public function getStandardParametersData(): StandardParametersData |
||
| 61 | } |
||
| 62 | } |
||
| 63 |