fixed common api endpoints

This commit is contained in:
Denis Duliçi
2020-12-26 16:13:34 +03:00
parent 8dbe178a70
commit 2e09989cf5
13 changed files with 267 additions and 113 deletions

View File

@@ -0,0 +1,28 @@
<?php
namespace App\Events\Auth;
use App\Abstracts\Event;
class ApiPermissionsAssigning extends Event
{
public $permission;
public $table;
public $type;
/**
* Create a new event instance.
*
* @param $permission
* @param $table
* @param $type
*/
public function __construct($permission, $table, $type)
{
$this->permission = $permission;
$this->table = $table;
$this->type = $type;
}
}