protected function createTitle(Infoset $info) {
		if (php_sapi_name() === 'cli') {
			$info->setTitle('[success]CLI[/success]');
			return;
		}
		
		$code = http_response_code();
		
		$title = ($code < 400)
			? '[success]' . $code . '[/success]'
			: '[alert]' . $code . '[/alert]';
		
		if (ob_get_level() > 0) {
			$title .= ' / ' . $this->formatMemory(ob_get_length());
		}
		
		$info->setTitle($title);
	}
protected function createTitle(Infoset $info) {
		if (php_sapi_name() === 'cli') {
			$info->setTitle('[success]CLI[/success]');
			return;
		}
		
		$code = http_response_code();
		
		$title = ($code < 400)
			? '[success]' . $code . '[/success]'
			: '[alert]' . $code . '[/alert]';
		
		if (ob_get_level() > 0) {
			$title .= ' / ' . $this->formatMemory(ob_get_length());
		}
		
		$info->setTitle($title);
	}
protected function createTitle ( Infoset $ info ) { if ( php_sapi_name ( ) === 'cli' ) { $ info -> setTitle ( '[success]CLI[/success]' ) ; return ; } $ code = http_response_code ( ) ; $ title = ( $ code < 400 ) ? '[success]' . $ code . '[/success]' : '[alert]' . $ code . '[/alert]' ; if ( ob_get_level ( ) > 0 ) { $ title .= ' / ' . $ this -> formatMemory ( ob_get_length ( ) ) ; } $ info -> setTitle ( $ title ) ; }
Create the title information

@param Infoset $info
Create the title information