okaybueno /
images
| 1 | <?php |
||
| 2 | |||
| 3 | namespace OkayBueno\Images\Events; |
||
| 4 | |||
| 5 | use Illuminate\Queue\SerializesModels; |
||
| 6 | use OkayBueno\Images\Models\Image; |
||
| 7 | |||
| 8 | /** |
||
| 9 | * Class ImageWasCreated |
||
| 10 | * @package OkayBueno\Images\Events |
||
| 11 | */ |
||
| 12 | class ImageWasCreated extends ImageEvent |
||
| 13 | { |
||
| 14 | use SerializesModels; |
||
|
0 ignored issues
–
show
introduced
by
Loading history...
|
|||
| 15 | |||
| 16 | protected $image; |
||
| 17 | protected $options; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @param Image $image |
||
| 21 | * @param array $options |
||
| 22 | */ |
||
| 23 | public function __construct( Image $image, array $options = [] ) |
||
| 24 | { |
||
| 25 | $this->image = $image; |
||
| 26 | $this->options = $options; |
||
| 27 | } |
||
| 28 | |||
| 29 | } |
||
| 30 |