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