eddy8 /
LightCMS
| 1 | <?php |
||
| 2 | |||
| 3 | namespace App\Events; |
||
| 4 | |||
| 5 | use Illuminate\Broadcasting\Channel; |
||
| 6 | use Illuminate\Broadcasting\InteractsWithSockets; |
||
| 7 | use Illuminate\Broadcasting\PresenceChannel; |
||
| 8 | use Illuminate\Broadcasting\PrivateChannel; |
||
| 9 | use Illuminate\Contracts\Broadcasting\ShouldBroadcast; |
||
| 10 | use Illuminate\Foundation\Events\Dispatchable; |
||
| 11 | use Illuminate\Queue\SerializesModels; |
||
| 12 | use Illuminate\Http\Request; |
||
| 13 | use App\Model\Admin\Entity; |
||
| 14 | |||
| 15 | class ContentCreating |
||
| 16 | { |
||
| 17 | use Dispatchable, InteractsWithSockets, SerializesModels; |
||
|
0 ignored issues
–
show
introduced
by
Loading history...
|
|||
| 18 | |||
| 19 | public $request; |
||
| 20 | public $entity; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Create a new event instance. |
||
| 24 | * |
||
| 25 | * @param Request $request |
||
| 26 | * @return void |
||
| 27 | */ |
||
| 28 | public function __construct(Request $request, Entity $entity) |
||
| 29 | { |
||
| 30 | $this->request = $request; |
||
| 31 | $this->entity = $entity; |
||
| 32 | } |
||
| 33 | } |
||
| 34 |