示例#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);
 }
示例#2
0
文件: Credo.php 项目: rougin/credo
 /**
  * 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);
 }