public function create(Description $description)
    {
        return new ContactEntity(
            $description->getOptionalProperty('phone'),
            $description->getOptionalProperty('twitter'),
            $description->getOptionalProperty('facebook')
        );
    }
public function create(Description $description)
    {
        return new ContactEntity(
            $description->getOptionalProperty('phone'),
            $description->getOptionalProperty('twitter'),
            $description->getOptionalProperty('facebook')
        );
    }
public function create ( Description $ description ) { return new ContactEntity ( $ description -> getOptionalProperty ( 'phone' ) , $ description -> getOptionalProperty ( 'twitter' ) , $ description -> getOptionalProperty ( 'facebook' ) ) ; }
Create contact information from a description.

@param Description $description The contact description.

@return ContactEntity
Create contact information from a description .