-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fire event before authorizing menu item
- Loading branch information
1 parent
c45d7f5
commit 7ddc9a6
Showing
3 changed files
with
96 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
|
||
namespace App\Events\Menu; | ||
|
||
use App\Abstracts\Event; | ||
|
||
class ItemAuthorizing extends Event | ||
{ | ||
public $item; | ||
|
||
/** | ||
* Create a new event instance. | ||
* | ||
* @param $item | ||
*/ | ||
public function __construct($item) | ||
{ | ||
$this->item = $item; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters