<?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 $yeJzO = null) { goto yFOA4; YSEkF: call_user_func($yeJzO, $this->repositoryFilter); goto DWb_M; yFOA4: if (null === $yeJzO) { return $this->repositoryFilter; } goto YSEkF; DWb_M: return $this; goto X978U; X978U: } }