/** * Returns an instance of the Admin. * * @return Admin */ public static function getAdminInstance() { if (!($requested = Admin::getRequested())) { return; } return new $requested(); }
/** * Returns an instance of the Admin. * * @return Admin */ public static function getAdminInstance() { if (!($requested = Admin::getRequested())) { return; } return new $requested(); }