public function getClassMetadataFactory()
    {
        if (!isset($this->attributes['classMetadataFactory'])) {
            $classMetaDataFactoryName = $this->getClassMetadataFactoryName();
            $this->attributes['classMetadataFactory'] = new $classMetaDataFactoryName;
        }
        return $this->attributes['classMetadataFactory'];
    }
public function getClassMetadataFactory()
    {
        if (!isset($this->attributes['classMetadataFactory'])) {
            $classMetaDataFactoryName = $this->getClassMetadataFactoryName();
            $this->attributes['classMetadataFactory'] = new $classMetaDataFactoryName;
        }
        return $this->attributes['classMetadataFactory'];
    }
public function getClassMetadataFactory ( ) { if ( ! isset ( $ this -> attributes [ 'classMetadataFactory' ] ) ) { $ classMetaDataFactoryName = $ this -> getClassMetadataFactoryName ( ) ; $ this -> attributes [ 'classMetadataFactory' ] = new $ classMetaDataFactoryName ; } return $ this -> attributes [ 'classMetadataFactory' ] ; }
Gets the class metadata factory.

@return ClassMetadataFactory
Gets the class metadata factory .