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