| Total Complexity | 3 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class AlbumInformationFetched extends Event |
||
| 9 | { |
||
| 10 | use SerializesModels; |
||
|
|
|||
| 11 | |||
| 12 | private $album; |
||
| 13 | private $information; |
||
| 14 | |||
| 15 | 2 | public function __construct(Album $album, array $information) |
|
| 16 | { |
||
| 17 | 2 | $this->album = $album; |
|
| 18 | 2 | $this->information = $information; |
|
| 19 | 2 | } |
|
| 20 | |||
| 21 | 1 | public function getAlbum(): Album |
|
| 22 | { |
||
| 23 | 1 | return $this->album; |
|
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @return mixed[] |
||
| 28 | */ |
||
| 29 | 1 | public function getInformation(): array |
|
| 32 | } |
||
| 33 | } |
||
| 34 |