Example #1
0
 /**
  * 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);
 }
Example #2
0
 /**
  * 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);
 }