activity/object/object.php
public function setDisplayName($name)
    {
        if (!is_null($name)) {
            $name = (string) $name;
        }

        $this->displayName = $name;
        return $this;
    }
public function setDisplayName($name)
    {
        if (!is_null($name)) {
            $name = (string) $name;
        }

        $this->displayName = $name;
        return $this;
    }
public function setDisplayName ( $ name ) { if ( ! is_null ( $ name ) ) { $ name = ( string ) $ name ; } $ this -> displayName = $ name ; return $ this ; }
Set the display name.

@link http://activitystrea.ms/specs/json/1.0/#object See displayName property.

@param string|null $name The display name.
@return ComActivitiesActivityObject
Set the display name .