输出段落

@param  string $message
355421
public function section(string $message)
    {
        $this->style->newLine();
        $this->output->writeln(sprintf(
            '<info>>></> <title>%s</>',
            OutputFormatter::escapeTrailingBackslash($message)
        ));
        $this->style->newLine();
    }
1047862
public static function system($message)
    {
        self::output(
            trim(self::$brand . ' ' . $message),
            "\033[34m%s\033[0m"
        );

        self::output(PHP_EOL);
    }
917697
protected function output($message, $color = null)
    {
        $format = [];
        if (!$this->isMuted()) {
            if ($color !== null) {
                $format[] = $color;
            }
            echo Console::ansiFormat("\r".$message."\n", $format);
        }
    }
423507
protected function log($message)
    {
        if (method_exists($this->inputOutput, 'writeError')) {
            $this->inputOutput->writeError($message);
        } else {
            // @codeCoverageIgnoreStart
            // Backwards compatiblity for Composer before cb336a5
            $this->inputOutput->write($message);
            // @codeCoverageIgnoreEnd
        }
    }
649247
public static function write($message){
      if( preg_match('~<[^>]+>~',$message)) {
         // Use preg_replace_callback for fast regex matches navigation
         echo strtr(preg_replace_callback('~^(.*)<([^>]+)>(.+)</\2>(.*)$~USm',function($m){
            static::write($m[1]);
            $color = strtoupper(trim($m[2]));
            if( isset(static::$shell_colors[$color]) ) echo static::$shell_colors[$color];
            static::$color_stack[] = $color;
            static::write($m[3]);
            array_pop(static::$color_stack);
            $back_color = array_pop(static::$color_stack) ?: static::$color_stack[]='NORMAL';
            if( isset(static::$shell_colors[$back_color]) ) echo static::$shell_colors[$back_color];
            static::write($m[4]);
         },strtr($message,["\n"=>"&BR;"])),["&BR;"=>PHP_EOL]);
      } else {
         echo strtr($message,["&BR;"=>PHP_EOL]);
      }
   }
486238
public function delete($message)
    {
        if (!$message instanceof QueueMessage) {
            $msg = new QueueMessage();
            $msg->setId($message);
        }

        $this->driver->delete($message);

        $message->isDeleted(true);
    }
1278897
protected function showUsage( $message = NULL ){
		\CLI::out();
		\CLI::out( 'Console Application' );
		\CLI::out();
		\CLI::out( 'Usage: ./cli_app.php a [b]' );
		\CLI::out( 'Options:' );
		\CLI::out( '  a			Mandatory Option' );
		\CLI::out( '    help		show help' );
		\CLI::out( '  b			Optional Option' );
		if( $message )
			$this->showError( $message );
	}
821548
private function overwrite($message)
    {
        if ($this->output->isDecorated()) {
            $this->output->write("\x0D\x1B[2K");
            $this->output->write($message);
        } else {
            $this->output->writeln($message);
        }
    }
204738
public function writeln( LogMessage $message )
    {
        if (!$this->checkMessageLogLevel($message->getLevel())){
            return;
        }

        // 接続処理
        $this->open();

        // フォーマット
        $out = parent::formatMessage( $message )  . $this->line_end;

        $this->write( $out );

        $this->close();
    }
354200
protected function flush($message)
    {
        $this->socket->create(AF_INET, SOCK_DGRAM, SOL_UDP);
        $this->socket->setNonBlocking();
        $this->socket->sendMessage($message, $this->server, $this->port);
        $this->socket->close();
    }
65458
protected function debug($message)
    {
        if ($this->debug) {
            if ($this->debug_handler) {
                call_user_func_array(
                    $this->debug_handler, array(&$this, $message)
                );
            } else {
                echo "DEBUG: $message\n";
            }
        }
    }
135599
public function log($message)
    {
        if (null !== $this->logger) {
            call_user_func(array($this->logger, $this->level), $message);
        }
    }
545719
protected function log($message)
    {
        $this->debug && Log::info($this->lockfilePath . ' ' . getmypid() . ' ' . $message);
    }
1339476
public function ack($message)
    {
        $channel = $message->delivery_info['channel'];
        $delivery_tag = $message->delivery_info['delivery_tag'];
        $channel->basic_ack($delivery_tag);
    }
1190194
public function warning($message): void
	{
		$message = $this->logMessToArray($message);
		$this->log(array_merge(['SEVERITY' => 'WARNING'], $message));
	}
922384
private function notify($message)
    {
        if ($this->output !== null) {
            $this->output->writeln("<info>{$message}</info>");
        }

        $this->app['logger.system']->info($message, ['event' => 'cron']);
    }
720515
protected function formatMessage($message)
    {
        if (is_array($message)) {
            $message = var_export($message, true);
        } elseif (is_object($message)) {
            $message = get_object_vars($message);
        }

        return $message;
    }