public function getRepositoryFactory(): RepositoryFactoryInterface
    {
        if (null !== $this->repositoryFactory) {
            return $this->repositoryFactory;
        }

        $factory = new DefaultRepositoryFactory();
        $factory->setDefaultRepositoryClassName($this->getDefaultRepositoryClassName());

        return $factory;
    }
public function getRepositoryFactory(): RepositoryFactoryInterface
    {
        if (null !== $this->repositoryFactory) {
            return $this->repositoryFactory;
        }

        $factory = new DefaultRepositoryFactory();
        $factory->setDefaultRepositoryClassName($this->getDefaultRepositoryClassName());

        return $factory;
    }
public function getRepositoryFactory ( ) : RepositoryFactoryInterface { if ( null !== $ this -> repositoryFactory ) { return $ this -> repositoryFactory ; } $ factory = new DefaultRepositoryFactory ( ) ; $ factory -> setDefaultRepositoryClassName ( $ this -> getDefaultRepositoryClassName ( ) ) ; return $ factory ; }
Sets the repository factory.

@return RepositoryFactoryInterface
Sets the repository factory .