Doctrine\ORM\EntityRepository::__call
Adds support for magic finders.
Signature
public function __call(
$method,
$arguments )
Parameters
$method
—$arguments
—
Returns
- array|object
- The found entity/entities.
Errors/Exceptions
-
BadMethodCallException
- If the method called is an invalid find* method