primo upload
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
|
||||
namespace Vanguard\Events\Permission;
|
||||
|
||||
class Created extends PermissionEvent {}
|
||||
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
|
||||
namespace Vanguard\Events\Permission;
|
||||
|
||||
class Deleted extends PermissionEvent {}
|
||||
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
namespace Vanguard\Events\Permission;
|
||||
|
||||
use Vanguard\Permission;
|
||||
|
||||
abstract class PermissionEvent
|
||||
{
|
||||
/**
|
||||
* @var Permission
|
||||
*/
|
||||
protected $permission;
|
||||
|
||||
public function __construct(Permission $permission)
|
||||
{
|
||||
$this->permission = $permission;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Permission
|
||||
*/
|
||||
public function getPermission()
|
||||
{
|
||||
return $this->permission;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
|
||||
namespace Vanguard\Events\Permission;
|
||||
|
||||
class Updated extends PermissionEvent {}
|
||||
Reference in New Issue
Block a user