<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\PayCenter\Provider; use Module\Vendor\Provider\ProviderTrait; class PayCenterProvider { use ProviderTrait; public static function all() { return self::listAll(); } public static function allEnabled() { return array_filter(self::all(), function (AbstractPayCenterProvider $sefXk) { return $sefXk->enable(); }); } public static function get($BjHij) { return self::getByName($BjHij); } }