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