/** * @param \Bpi\ApiBundle\Domain\Repository\YearwheelRepository $repository * @return boolean */ public function isInRepository(YearwheelRepository $repository) { return $repository->findAll()->contains($this); }
/** * @param \Bpi\ApiBundle\Domain\Repository\YearwheelRepository $repository * @return boolean */ public function isInRepository(YearwheelRepository $repository) { return $repository->findAll()->contains($this); }