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