TRF Certest first commit
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
namespace Vanguard\Events\Permission;
|
||||
|
||||
class Created extends PermissionEvent
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
namespace Vanguard\Events\Permission;
|
||||
|
||||
class Deleted extends PermissionEvent
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace Vanguard\Events\Permission;
|
||||
|
||||
use Vanguard\Permission;
|
||||
|
||||
abstract class PermissionEvent
|
||||
{
|
||||
public function __construct(protected Permission $permission)
|
||||
{
|
||||
}
|
||||
|
||||
public function getPermission(): Permission
|
||||
{
|
||||
return $this->permission;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
namespace Vanguard\Events\Permission;
|
||||
|
||||
class Updated extends PermissionEvent
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user