| Total Complexity | 4 | 
| Total Lines | 37 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 9 | class VariadicItem implements AutowireItemInterface | ||
| 10 | { | ||
| 11 | /** | ||
| 12 | * @var AutowireItemInterface[] | ||
| 13 | */ | ||
| 14 | private $args = []; | ||
| 15 | |||
| 16 | /** | ||
| 17 |      * {@inheritdoc} | ||
| 18 | */ | ||
| 19 | 1 | public function serialize(): string | |
| 20 |     { | ||
| 21 | 1 | return serialize($this->args); | |
| 22 | } | ||
| 23 | |||
| 24 | /** | ||
| 25 |      * {@inheritdoc} | ||
| 26 | */ | ||
| 27 | 1 | public function unserialize($serialized): void | |
| 28 |     { | ||
| 29 | 1 | $this->args = unserialize($serialized); | |
| 30 | 1 | } | |
| 31 | |||
| 32 | /** | ||
| 33 | * @return AutowireItemInterface[] | ||
| 34 | */ | ||
| 35 | 1 | public function getArgs(): array | |
| 36 |     { | ||
| 37 | 1 | return $this->args; | |
| 38 | } | ||
| 39 | |||
| 40 | /** | ||
| 41 | * @param AutowireItemInterface[] $args | ||
| 42 | */ | ||
| 43 | 5 | public function setArgs(array $args): void | |
| 46 | 5 | } | |
| 47 | } | ||
| 48 |