Pantheon\Terminus\Terminus::__construct PHP Метод

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

Object constructor
public __construct ( Config $config, Symfony\Component\Console\Input\InputInterface $input = null, Symfony\Component\Console\Output\OutputInterface $output = null )
$config Config
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
    public function __construct(Config $config, InputInterface $input = null, OutputInterface $output = null)
    {
        $this->config = $config;
        $application = new Application('Terminus', $config->get('version'));
        $container = Robo::createDefaultContainer($input, $output, $application, $config);
        $this->configureContainer($container);
        $this->runner = new RoboRunner();
        $this->runner->setContainer($container);
        date_default_timezone_set($config->get('time_zone'));
    }