src/Manager/RepositoryManager.php
private function createRepository($typeName)
    {
        if (!class_exists($repositoryName = $this->getRepositoryName($typeName))) {
            throw new RuntimeException(sprintf('%s repository for %s does not exist', $repositoryName, $typeName));
        }

        return new $repositoryName($this->types[$typeName]['finder']);
    }
private function createRepository($typeName)
    {
        if (!class_exists($repositoryName = $this->getRepositoryName($typeName))) {
            throw new RuntimeException(sprintf('%s repository for %s does not exist', $repositoryName, $typeName));
        }

        return new $repositoryName($this->types[$typeName]['finder']);
    }
@param $typeName

@return mixed