| Total Complexity | 3 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | class Denied implements Operation |
||
| 18 | { |
||
| 19 | private $grantableCollection; |
||
| 20 | |||
| 21 | private $owner; |
||
| 22 | |||
| 23 | 8 | public function __construct(Owner $owner, Collection $grantableCollection) |
|
| 24 | { |
||
| 25 | 8 | $this->owner = $owner; |
|
| 26 | 8 | $this->grantableCollection = $grantableCollection; |
|
| 27 | 8 | } |
|
| 28 | |||
| 29 | 8 | public function getGrantableCollection(): Collection |
|
| 30 | { |
||
| 31 | 8 | return $this->grantableCollection; |
|
| 32 | } |
||
| 33 | |||
| 34 | 8 | public function getOwner(): Owner |
|
| 37 | } |
||
| 38 | } |
||
| 39 |