public function getRepository($name = null)
    {
        // Resolve repository class name
        $repositoryName = $this->resolveRepositoryClassName($name);

        return new $repositoryName($this->getValidator(), $this->config);
    }
public function getRepository($name = null)
    {
        // Resolve repository class name
        $repositoryName = $this->resolveRepositoryClassName($name);

        return new $repositoryName($this->getValidator(), $this->config);
    }
public function getRepository ( $ name = null ) { // Resolve repository class name $ repositoryName = $ this -> resolveRepositoryClassName ( $ name ) ; return new $ repositoryName ( $ this -> getValidator ( ) , $ this -> config ) ; }
Gets repository by name

@param   string      $name       Name of the repository to get
Gets repository by name