| Total Complexity | 1 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | class EventAttendee extends BaseResource implements IResource |
||
| 18 | {
|
||
| 19 | |||
| 20 | /** |
||
| 21 | * Enable casting for this resource |
||
| 22 | * |
||
| 23 | * @var array |
||
| 24 | * |
||
| 25 | * @see BaseResource::casts |
||
| 26 | */ |
||
| 27 | protected $casts = [ |
||
| 28 | ]; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Enable further casting with multiple attributes |
||
| 32 | * |
||
| 33 | * @var array |
||
| 34 | * |
||
| 35 | * @see BaseResource::$customCasts |
||
| 36 | */ |
||
| 37 | protected $customCasts = [ |
||
| 38 | ]; |
||
| 39 | |||
| 40 | /** |
||
| 41 | * Set the model parameters |
||
| 42 | * |
||
| 43 | * Event Attendee constructor. |
||
| 44 | * |
||
| 45 | * @throws ResourceNotFoundException |
||
| 46 | * |
||
| 47 | * @param $resource |
||
| 48 | */ |
||
| 49 | public function __construct($resource) |
||
| 54 | } |