| Total Complexity | 5 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class EvaluateBadgesEvent extends Event |
||
| 10 | { |
||
| 11 | |||
| 12 | protected $person; |
||
| 13 | |||
| 14 | 1 | public function __construct(PersonInterface $person) |
|
| 17 | 1 | } |
|
| 18 | |||
| 19 | /** |
||
| 20 | * |
||
| 21 | * @return PersonInterface |
||
| 22 | */ |
||
| 23 | 1 | public function getPerson() |
|
| 24 | { |
||
| 25 | 1 | return $this->person; |
|
| 26 | } |
||
| 27 | |||
| 28 | 1 | public function registerBadges(array $badges) |
|
| 35 | } |
||
| 36 | |||
| 37 | 1 | public function registerBadge(BadgeInterface $badge) |
|
| 43 |