public function getClassNameForPropertyName($propertyName)
    {
        $className = parent::getClassNameForPropertyName($propertyName);

        // In vCard 4, BINARY no longer exists, and we need URI instead.
        if ('Sabre\\VObject\\Property\\Binary' == $className && self::VCARD40 === $this->getDocumentType()) {
            return 'Sabre\\VObject\\Property\\Uri';
        }

        return $className;
    }
public function getClassNameForPropertyName($propertyName)
    {
        $className = parent::getClassNameForPropertyName($propertyName);

        // In vCard 4, BINARY no longer exists, and we need URI instead.
        if ('Sabre\\VObject\\Property\\Binary' == $className && self::VCARD40 === $this->getDocumentType()) {
            return 'Sabre\\VObject\\Property\\Uri';
        }

        return $className;
    }
public function getClassNameForPropertyName ( $ propertyName ) { $ className = parent :: getClassNameForPropertyName ( $ propertyName ) ; // In vCard 4, BINARY no longer exists, and we need URI instead. if ( 'Sabre\\VObject\\Property\\Binary' == $ className && self :: VCARD40 === $ this -> getDocumentType ( ) ) { return 'Sabre\\VObject\\Property\\Uri' ; } return $ className ; }
Returns the default class for a property name.

@param string $propertyName

@return string
Returns the default class for a property name .