blessing-skin-server/app/Events/ConfigureUserMenu.php

21 lines
320 B
PHP
Raw Normal View History

2016-10-25 22:47:50 +08:00
<?php
namespace App\Events;
class ConfigureUserMenu extends Event
{
public $menu;
/**
* Create a new event instance.
*
2018-02-16 16:25:35 +08:00
* @param array $menu
2016-10-25 22:47:50 +08:00
* @return void
*/
2016-10-30 11:57:26 +08:00
public function __construct(array &$menu)
2016-10-25 22:47:50 +08:00
{
2018-02-16 16:25:35 +08:00
// Pass array by reference
2016-10-25 22:47:50 +08:00
$this->menu = &$menu;
}
}