/** * Calls methods from EntityRepository in underscore case. * * @param string $method * @param mixed $parameters * @return mixed */ public function __call($method, $parameters) { return \Rougin\Credo\Helpers\MagicMethodHelper::call($this, $method, $parameters); }
/** * Calls methods from EntityManager in underscore case. * * @param string $method * @param mixed $parameters * @return mixed */ public function __call($method, $parameters) { return MagicMethodHelper::call($this, $method, $parameters, $this->entityManager); }