Total Complexity | 2 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
21 | class StrategyDto |
||
22 | { |
||
23 | /** |
||
24 | * Parsing algorithm name |
||
25 | * |
||
26 | * @var string |
||
27 | */ |
||
28 | private $name; |
||
29 | |||
30 | /** |
||
31 | * Sets name for parsing algorithm used by scanner |
||
32 | * |
||
33 | * @param string $name Parsing algorithm name |
||
34 | * |
||
35 | * @return void |
||
36 | */ |
||
37 | public function setName(string $name): void |
||
38 | { |
||
39 | $this->name = $name; |
||
40 | } |
||
41 | |||
42 | /** |
||
43 | * Returns name of parsing algorithm used by scanner |
||
44 | * |
||
45 | * @return string|null |
||
46 | */ |
||
47 | public function getName(): ?string |
||
50 | } |
||
51 | } |
||
52 |