src/Contexts/ContextRepositoryTrait.php
public function repository($name, $method, array $parameters = [])
    {
        return call_user_func_array(
            [ $this->getRepository($name), $method ],
            $parameters
        );
    }
public function repository($name, $method, array $parameters = [])
    {
        return call_user_func_array(
            [ $this->getRepository($name), $method ],
            $parameters
        );
    }
public function repository ( $ name , $ method , array $ parameters = [ ] ) { return call_user_func_array ( [ $ this -> getRepository ( $ name ) , $ method ] , $ parameters ) ; }
Perform a method on a repository

@param string $name
@param string $method
@param array  $parameters
@return mixed
@throws ContextRepositoryException   if repository name not found
Perform a method on a repository