| Total Complexity | 5 | 
| Total Lines | 42 | 
| Duplicated Lines | 0 % | 
| Coverage | 57.14% | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 5 | class AccessConfig  | 
            ||
| 6 | { | 
            ||
| 7 | /** @var string[] */  | 
            ||
| 8 | private $defaultGroups = [];  | 
            ||
| 9 | |||
| 10 | /** @var array[] */  | 
            ||
| 11 | private $groupsByProperty = [];  | 
            ||
| 12 | |||
| 13 | 5 | public function __construct(array $defaultGroups = [], array $groupsByProperty = [])  | 
            |
| 14 |     { | 
            ||
| 15 | 5 | $this->defaultGroups = $defaultGroups;  | 
            |
| 16 | 5 | $this->groupsByProperty = $groupsByProperty;  | 
            |
| 17 | 5 | }  | 
            |
| 18 | |||
| 19 | public function setDefault(array $groups): AccessConfig  | 
            ||
| 24 | }  | 
            ||
| 25 | |||
| 26 | public function set(string $property, array $groups): AccessConfig  | 
            ||
| 31 | }  | 
            ||
| 32 | |||
| 33 | /**  | 
            ||
| 34 | * @return string[]  | 
            ||
| 35 | */  | 
            ||
| 36 | 5 | public function getDefaultGroups(): array  | 
            |
| 39 | }  | 
            ||
| 40 | |||
| 41 | /**  | 
            ||
| 42 | * @return array[]  | 
            ||
| 43 | */  | 
            ||
| 44 | 5 | public function getGroupsByProperty(): array  | 
            |
| 49 |