<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Vendor\Provider\SearchBox; use Module\Vendor\Provider\ProviderTrait; class SearchBoxProvider { use ProviderTrait; public static function all() { goto Yb3bM; Rjvwx: return $MCyeh; goto O9Fxk; Yb3bM: $MCyeh = self::listAll(); goto sl_tW; sl_tW: usort($MCyeh, function ($w9doT, $WJhGN) { if ($w9doT->order() == $WJhGN->order()) { return 0; } return $w9doT->order() > $WJhGN->order() ? 1 : -1; }); goto Rjvwx; O9Fxk: } public static function get($zO6V5) { return self::getByName($zO6V5); } public static function count() { return count(self::all()); } }