Pagekit\Installer\SelfUpdater::__construct PHP Метод

__construct() публичный Метод

Constructor.
public __construct ( Symfony\Component\Console\Output\OutputInterface $output = null )
$output Symfony\Component\Console\Output\OutputInterface
    public function __construct(OutputInterface $output = null)
    {
        $this->output = $output ?: new StreamOutput(fopen('php://output', 'w'));
        if (PHP_SAPI != 'cli') {
            ob_implicit_flush(true);
            @ob_end_flush();
            $this->output->setFormatter(new HtmlOutputFormatter());
        }
    }