public function setParentProcessTitleFormat($string) {
		if ($this->created) {
			throw new WorkerPoolException('Cannot set the Children\'s Process Title Format for a created pool.');
		}
		$this->parentProcessTitleFormat = ProcessDetails::sanitizeProcessTitleFormat($string);
		return $this;
	}
public function setParentProcessTitleFormat($string) {
		if ($this->created) {
			throw new WorkerPoolException('Cannot set the Children\'s Process Title Format for a created pool.');
		}
		$this->parentProcessTitleFormat = ProcessDetails::sanitizeProcessTitleFormat($string);
		return $this;
	}
public function setParentProcessTitleFormat ( $ string ) { if ( $ this -> created ) { throw new WorkerPoolException ( 'Cannot set the Children\'s Process Title Format for a created pool.' ) ; } $ this -> parentProcessTitleFormat = ProcessDetails :: sanitizeProcessTitleFormat ( $ string ) ; return $ this ; }
Sets the process title of the parent

Listing permitted replacments
%basename%  The base name of PHPSELF
%fullname%  The value of PHPSELF
%class%     The WorkerPool's Classname

@param string $string the process title of the parent
@return WorkerPool
@throws \QXS\WorkerPool\WorkerPoolException in case the WorkerPool has already been created
@throws \DomainException in case the $string value is not within the permitted range
Sets the process title of the parent