FEATURE: add content page logging

This commit is contained in:
Michal Kváček
2016-04-03 02:14:55 +02:00
parent 7de45fe377
commit d0438f56dd
18 changed files with 501 additions and 9 deletions
+22
View File
@@ -0,0 +1,22 @@
<?php
namespace App\Events;
use App\Models\Content;
use Illuminate\Queue\SerializesModels;
class PublishContent extends Event
{
use SerializesModels;
/**
* @var Content
*/
public $page;
public $revision;
public function __construct(Content $page, $revision)
{
$this->page = $page;
$this->revision = $revision;
}
}