2016-11-17 17:32:12 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Events;
|
|
|
|
|
|
|
|
class ConfigureAdminMenu extends Event
|
|
|
|
{
|
|
|
|
public $menu;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Create a new event instance.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function __construct(array &$menu)
|
|
|
|
{
|
2018-02-16 16:25:35 +08:00
|
|
|
// Pass array by reference
|
2016-11-17 17:32:12 +08:00
|
|
|
$this->menu = &$menu;
|
|
|
|
}
|
|
|
|
}
|