public function setDisplayName($displayName)
    {
        if (null !== $displayName) {
            Assert::string($displayName, 'The display name must be a string. Got: %s');
            Assert::notEmpty($displayName, 'The display name must not be empty.');
        }

        $this->displayName = $displayName;

        return $this;
    }
public function setDisplayName($displayName)
    {
        if (null !== $displayName) {
            Assert::string($displayName, 'The display name must be a string. Got: %s');
            Assert::notEmpty($displayName, 'The display name must not be empty.');
        }

        $this->displayName = $displayName;

        return $this;
    }
public function setDisplayName ( $ displayName ) { if ( null !== $ displayName ) { Assert :: string ( $ displayName , 'The display name must be a string. Got: %s' ) ; Assert :: notEmpty ( $ displayName , 'The display name must not be empty.' ) ; } $ this -> displayName = $ displayName ; return $ this ; }
Sets the application name as it is displayed in the help.

@param string $displayName The display name.

@return static The current instance.

@see getDisplayName()
Sets the application name as it is displayed in the help .