src/Mapper/AbstractEntityMapper.php
public function getDescriptor()
    {
        if (null == $this->descriptor) {
            $this->setDescriptor(
                EntityDescriptorRegistry::getInstance()
                    ->getDescriptorFor($this->getEntityClassName())
            );
        }
        return $this->descriptor;
    }
public function getDescriptor()
    {
        if (null == $this->descriptor) {
            $this->setDescriptor(
                EntityDescriptorRegistry::getInstance()
                    ->getDescriptorFor($this->getEntityClassName())
            );
        }
        return $this->descriptor;
    }
public function getDescriptor ( ) { if ( null == $ this -> descriptor ) { $ this -> setDescriptor ( EntityDescriptorRegistry :: getInstance ( ) -> getDescriptorFor ( $ this -> getEntityClassName ( ) ) ) ; } return $ this -> descriptor ; }
Get entity descriptor

@return EntityDescriptorInterface
Get entity descriptor