27 lines
420 B
PHP
27 lines
420 B
PHP
<?php
|
|
|
|
namespace App\Events;
|
|
|
|
use App\Models\Content;
|
|
use Illuminate\Queue\SerializesModels;
|
|
|
|
class DeleteContent extends Event
|
|
{
|
|
use SerializesModels;
|
|
/**
|
|
* @var Content
|
|
*/
|
|
public $page;
|
|
|
|
/**
|
|
* Create a new event instance.
|
|
*
|
|
* @param Content $page
|
|
* @param $revision
|
|
*/
|
|
public function __construct(Content $page)
|
|
{
|
|
$this->page = $page;
|
|
}
|
|
}
|