<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace ModStart\Repository\Filter; use Closure; trait HasRepositoryFilter { private $repositoryFilter; private function setupRepositoryFilter() { $this->repositoryFilter = new RepositoryFilter(); } public function repositoryFilter(Closure $aCnQE = null) { goto IfStc; IfStc: if (null === $aCnQE) { return $this->repositoryFilter; } goto mi2y8; OW9rF: return $this; goto eNLeQ; mi2y8: call_user_func($aCnQE, $this->repositoryFilter); goto OW9rF; eNLeQ: } }