/** * @param string $name * @return mixed */ public function find($name) { return Account::generate(array_slice($this->store->find($name), 0, 10)); }
/** * 查找数据 * * @param Cheque $cheque * @return mixed */ public function find(Cheque $cheque) { $result = $this->store->find($cheque); return Account::generate($result); }