private function getEmbeddedAnnotationData(\ReflectionProperty $property)
    {
        $result = $this->reader->getPropertyAnnotation($property, self::EMBEDDED_ANNOTATION);

        if ($result !== null && $result->name === null) {
            $result->name = Caser::snake($property->getName());
        }

        return $result;
    }
private function getEmbeddedAnnotationData(\ReflectionProperty $property)
    {
        $result = $this->reader->getPropertyAnnotation($property, self::EMBEDDED_ANNOTATION);

        if ($result !== null && $result->name === null) {
            $result->name = Caser::snake($property->getName());
        }

        return $result;
    }
private function getEmbeddedAnnotationData ( \ ReflectionProperty $ property ) { $ result = $ this -> reader -> getPropertyAnnotation ( $ property , self :: EMBEDDED_ANNOTATION ) ; if ( $ result !== null && $ result -> name === null ) { $ result -> name = Caser :: snake ( $ property -> getName ( ) ) ; } return $ result ; }
Returns Embedded annotation data from reader.

@param \ReflectionProperty $property

@return Embedded|object|null
Returns Embedded annotation data from reader .