Esempio n. 1
0
 public function save(CustomerRepository $repo)
 {
     $repo->save($this);
 }
 public function search($name)
 {
     return $this->repository->fetchByName($name);
 }