Doctrine\Tests\ODM\PHPCR\Id\ParentClassMetadataProxy::getFieldValue PHP Method

getFieldValue() public method

public getFieldValue ( $document, $field )
    public function getFieldValue($document, $field)
    {
        switch ($field) {
            case $this->parentMapping:
                return $this->_parent;
            case $this->nodename:
                return $this->_nodename;
            case $this->identifier:
                return $this->_identifier;
        }
        return null;
    }
ParentClassMetadataProxy