lib/Doctrine/ODM/CouchDB/Mapping/ClassMetadataFactory.php
protected function doLoadMetadata($class, $parent, $rootEntityFound, array $nonSuperclassParents)
    {
        /** @var $parent ClassMetaData */
        if ($parent) {
            $this->addAssociationsMapping($class, $parent);
            $this->addFieldMapping($class, $parent);
            $this->addIndexes($class, $parent);
            $parent->deriveChildMetadata($class);
            $class->setParentClasses($nonSuperclassParents);
        }

        if ($this->getDriver()) {
            $this->getDriver()->loadMetadataForClass($class->getName(), $class);
        }

        $this->validateMapping($class);
    }
protected function doLoadMetadata($class, $parent, $rootEntityFound, array $nonSuperclassParents)
    {
        /** @var $parent ClassMetaData */
        if ($parent) {
            $this->addAssociationsMapping($class, $parent);
            $this->addFieldMapping($class, $parent);
            $this->addIndexes($class, $parent);
            $parent->deriveChildMetadata($class);
            $class->setParentClasses($nonSuperclassParents);
        }

        if ($this->getDriver()) {
            $this->getDriver()->loadMetadataForClass($class->getName(), $class);
        }

        $this->validateMapping($class);
    }
protected function doLoadMetadata ( $ class , $ parent , $ rootEntityFound , array $ nonSuperclassParents ) { /** @var $parent ClassMetaData */ if ( $ parent ) { $ this -> addAssociationsMapping ( $ class , $ parent ) ; $ this -> addFieldMapping ( $ class , $ parent ) ; $ this -> addIndexes ( $ class , $ parent ) ; $ parent -> deriveChildMetadata ( $ class ) ; $ class -> setParentClasses ( $ nonSuperclassParents ) ; } if ( $ this -> getDriver ( ) ) { $ this -> getDriver ( ) -> loadMetadataForClass ( $ class -> getName ( ) , $ class ) ; } $ this -> validateMapping ( $ class ) ; }
{@inheritdoc}
{