| Total Complexity | 8 |
| Total Lines | 76 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | class Metadata |
||
| 6 | { |
||
| 7 | /** @var array */ |
||
| 8 | protected $service; |
||
| 9 | |||
| 10 | /** |
||
| 11 | * @var array|null |
||
| 12 | */ |
||
| 13 | protected $process; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var array|null |
||
| 17 | */ |
||
| 18 | protected $system; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var array|null |
||
| 22 | */ |
||
| 23 | protected $user; |
||
| 24 | |||
| 25 | public function __construct(array $service) |
||
| 26 | { |
||
| 27 | $this->service = $service; |
||
| 28 | } |
||
| 29 | |||
| 30 | public function getService(): array |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @return array|null |
||
| 37 | */ |
||
| 38 | public function getProcess(): ?array |
||
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @param array|null $process |
||
| 45 | */ |
||
| 46 | public function setProcess(?array $process): void |
||
| 47 | { |
||
| 48 | $this->process = $process; |
||
| 49 | } |
||
| 50 | |||
| 51 | /** |
||
| 52 | * @return array|null |
||
| 53 | */ |
||
| 54 | public function getSystem(): ?array |
||
| 55 | { |
||
| 56 | return $this->system; |
||
| 57 | } |
||
| 58 | |||
| 59 | /** |
||
| 60 | * @param array|null $system |
||
| 61 | */ |
||
| 62 | public function setSystem(?array $system): void |
||
| 65 | } |
||
| 66 | |||
| 67 | /** |
||
| 68 | * @return array|null |
||
| 69 | */ |
||
| 70 | public function getUser(): ?array |
||
| 71 | { |
||
| 72 | return $this->user; |
||
| 73 | } |
||
| 74 | |||
| 75 | /** |
||
| 76 | * @param array|null $user |
||
| 77 | */ |
||
| 78 | public function setUser(?array $user): void |
||
| 81 | } |
||
| 82 | } |
||
| 83 |