public function processClassMetadata(ClassMetadata $metadata, $property, $prefix)
    {
        if (in_array($metadata->getName(), $this->processedClasses)) {
            return;
        }

        $metadata->mapEmbedded([
            'fieldName'    => $property,
            'class'        => $this->embeddableMetadata->getName(),
            'columnPrefix' => empty($prefix) ? false : $prefix,
        ]);

        $metadata->inlineEmbeddable($property, $this->embeddableMetadata);

        $this->processedClasses[] = $metadata->getName();
    }
public function processClassMetadata(ClassMetadata $metadata, $property, $prefix)
    {
        if (in_array($metadata->getName(), $this->processedClasses)) {
            return;
        }

        $metadata->mapEmbedded([
            'fieldName'    => $property,
            'class'        => $this->embeddableMetadata->getName(),
            'columnPrefix' => empty($prefix) ? false : $prefix,
        ]);

        $metadata->inlineEmbeddable($property, $this->embeddableMetadata);

        $this->processedClasses[] = $metadata->getName();
    }
public function processClassMetadata ( ClassMetadata $ metadata , $ property , $ prefix ) { if ( in_array ( $ metadata -> getName ( ) , $ this -> processedClasses ) ) { return ; } $ metadata -> mapEmbedded ( [ 'fieldName' => $ property , 'class' => $ this -> embeddableMetadata -> getName ( ) , 'columnPrefix' => empty ( $ prefix ) ? false : $ prefix , ] ) ; $ metadata -> inlineEmbeddable ( $ property , $ this -> embeddableMetadata ) ; $ this -> processedClasses [ ] = $ metadata -> getName ( ) ; }
Processes the class metadata.

@param ClassMetadata $metadata
@param string        $property
@param string        $prefix
Processes the class metadata .