<?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 $uTSeU = null) { goto Be8Ko; UfXet: call_user_func($uTSeU, $this->repositoryFilter); goto YAs2p; YAs2p: return $this; goto sA40C; Be8Ko: if (null === $uTSeU) { return $this->repositoryFilter; } goto UfXet; sA40C: } }