<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace ModStart\Admin\Config; class AdminMenu { private static $menu = array(); public static function register($mp4rF) { self::$menu[] = $mp4rF; } public static function get() { goto iWwW7; y7DCP: foreach (self::$menu as $Xvngd) { if ($Xvngd instanceof \Closure) { $Xvngd = call_user_func($Xvngd); } if (isset($Xvngd['title'])) { $mp4rF = array_merge($mp4rF, array($Xvngd)); } else { $mp4rF = array_merge($mp4rF, $Xvngd); } } goto RhjbL; RhjbL: return $mp4rF; goto Xz2cr; iWwW7: $mp4rF = array(); goto y7DCP; Xz2cr: } }