Files
core/app/Events/DeleteContent.php

27 lines
428 B
PHP

<?php
namespace App\Events;
use App\Models\Content\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;
}
}