for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Symfony.php
*
* @copyright More in license.md
* @license http://www.ipublikuj.eu
* @author Adam Kadlec http://www.ipublikuj.eu
* @package iPublikuj:MQTTClient!
* @subpackage Logger
* @since 1.0.0
* @date 26.02.17
*/
declare(strict_types = 1);
namespace IPub\MQTTClient\Logger\Formatter;
use Symfony\Component\Console;
* Client server symfony console output formatter
* @author Adam Kadlec <[email protected]>
final class Symfony implements IFormatter
{
* @var Console\Style\SymfonyStyle
private $output;
* @param Console\Style\SymfonyStyle $output
public function __construct(Console\Style\SymfonyStyle $output)
$this->output = $output;
}
* {@inheritdoc}
public function error(string $message)
$this->output->error($message);
public function warning(string $message)
$this->output->warning($message);
public function note(string $message)
$this->output->note($message);
public function caution(string $message)
$this->output->caution($message);