public function setProcessTitle($processTitle)
    {
        if (null !== $processTitle) {
            Assert::string($processTitle, 'The command process title must be a string or null. Got: %s');
            Assert::notEmpty($processTitle, 'The command process title must not be empty.');
        }

        $this->processTitle = $processTitle;

        return $this;
    }
public function setProcessTitle($processTitle)
    {
        if (null !== $processTitle) {
            Assert::string($processTitle, 'The command process title must be a string or null. Got: %s');
            Assert::notEmpty($processTitle, 'The command process title must not be empty.');
        }

        $this->processTitle = $processTitle;

        return $this;
    }
public function setProcessTitle ( $ processTitle ) { if ( null !== $ processTitle ) { Assert :: string ( $ processTitle , 'The command process title must be a string or null. Got: %s' ) ; Assert :: notEmpty ( $ processTitle , 'The command process title must not be empty.' ) ; } $ this -> processTitle = $ processTitle ; return $ this ; }
Sets the title of the command process.

@param string|null $processTitle The process title or `null` if no title
should be set.

@return static The current instance.

@see getProcessTitle()
Sets the title of the command process .