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