src/Repository/CatRepository.php
protected function getClass($class)
    {
        if(ClientVersionMapInterface::VERSION_V090X === $this->versionFolder) {
            throw new RepositoryException('Version folder ' .
                ClientVersionMapInterface::VERSION_V090X . ' is not allowed for cat repository');
        }

        return parent::getClass($class);
    }
protected function getClass($class)
    {
        if(ClientVersionMapInterface::VERSION_V090X === $this->versionFolder) {
            throw new RepositoryException('Version folder ' .
                ClientVersionMapInterface::VERSION_V090X . ' is not allowed for cat repository');
        }

        return parent::getClass($class);
    }
protected function getClass ( $ class ) { if ( ClientVersionMapInterface :: VERSION_V090X === $ this -> versionFolder ) { throw new RepositoryException ( 'Version folder ' . ClientVersionMapInterface :: VERSION_V090X . ' is not allowed for cat repository' ) ; } return parent :: getClass ( $ class ) ; }
gets the right class string of a version

@param string $class

@return string
@throws RepositoryException
@author Daniel Wendlandt
gets the right class string of a version