public function getSerializedName(\ReflectionProperty $property, Property $annot = null)
    {
        if ($annot || $annot = $this->getPropertyAnnotation($property)) {

            return $annot->getName();
        }

        return $property->getName();
    }
public function getSerializedName(\ReflectionProperty $property, Property $annot = null)
    {
        if ($annot || $annot = $this->getPropertyAnnotation($property)) {

            return $annot->getName();
        }

        return $property->getName();
    }
public function getSerializedName ( \ ReflectionProperty $ property , Property $ annot = null ) { if ( $ annot || $ annot = $ this -> getPropertyAnnotation ( $ property ) ) { return $ annot -> getName ( ) ; } return $ property -> getName ( ) ; }
Returns the serialized name for this property

@param \ReflectionProperty $property
@param Property           $annot
@return string
Returns the serialized name for this property