| Total Complexity | 1 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | class UploadedImage |
||
| 14 | { |
||
| 15 | use Dispatchable; |
||
| 16 | use InteractsWithSockets; |
||
| 17 | use SerializesModels; |
||
|
|
|||
| 18 | |||
| 19 | /** @var Post|null */ |
||
| 20 | public $blogEtcPost; |
||
| 21 | public $image; |
||
| 22 | public $source; |
||
| 23 | public $image_filename; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * UploadedImage constructor. |
||
| 27 | * |
||
| 28 | * @param $image_filename - the new filename |
||
| 29 | * @param Post $blogEtcPost |
||
| 30 | * @param $image |
||
| 31 | * @param $source string|null the __METHOD__ firing this event (or other string) |
||
| 32 | */ |
||
| 33 | public function __construct( |
||
| 45 |