mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-15 13:32:41 +08:00
add setting: custom menu enable or not
This commit is contained in:
@@ -86,9 +86,14 @@ class Test extends Command
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
$menuRep = new MenuRepository();
|
||||
$r = $menuRep->listItems()->toArray();
|
||||
dd($r);
|
||||
add_filter('ttt', function ($d) {
|
||||
$d[] = 100;
|
||||
return $d;
|
||||
});
|
||||
$a = [];
|
||||
$a[] = '1';
|
||||
$a = apply_filter('ttt', $a);
|
||||
dd($a);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user