| Total Complexity | 5 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | trait HasAcceptedFlagHelpers |
||
| 17 | { |
||
| 18 | public function initializeHasAcceptedFlagHelpers(): void |
||
| 21 | } |
||
| 22 | |||
| 23 | public function isAccepted(): bool |
||
| 24 | { |
||
| 25 | return $this->getAttributeValue('is_accepted'); |
||
| 26 | } |
||
| 27 | |||
| 28 | public function isNotAccepted(): bool |
||
| 29 | { |
||
| 30 | return !$this->isAccepted(); |
||
| 31 | } |
||
| 32 | |||
| 33 | public function accept(): void |
||
| 39 | } |
||
| 40 | |||
| 41 | public function reject(): void |
||
| 47 | } |
||
| 48 | } |
||
| 49 |