<?php

namespace Heystack\Subsystem\Core\Console;

use Monolog\Logger;
use Symfony\Component\Console\Application as BaseApplication;

/**
 * Class Application
 * @package Heystack\Subsystem\Core\Console
 */
class Application extends BaseApplication
{
    /**
     * @var
     */
    protected $logger;
    /**
     *
     */
    public function __construct()
    {
        parent::__construct('Heystack', '1.1');
    }
    /**
     * @param Logger $logger
     */
    public function setLogger(Logger $logger)
    {
        $this->logger = $logger;
    }
    /**
     * @return Logger
     */
    public function getLogger()
    {
        return $this->logger;
    }
}

<?php

namespace Heystack\Subsystem\Core\Console;

use Monolog\Logger;
use Symfony\Component\Console\Application as BaseApplication;

/**
 * Class Application
 * @package Heystack\Subsystem\Core\Console
 */
class Application extends BaseApplication
{
    /**
     * @var
     */
    protected $logger;
    /**
     *
     */
    public function __construct()
    {
        parent::__construct('Heystack', '2.1.1');
    }
    /**
     * @param Logger $logger
     */
    public function setLogger(Logger $logger)
    {
        $this->logger = $logger;
    }
    /**
     * @return Logger
     */
    public function getLogger()
    {
        return $this->logger;
    }
}

Increment version number of console application fixes T71
Increment version number of console application fixes T71

Reviewers: stevie, glenn

Reviewed By: stevie

Maniphest Tasks: T71

Differential Revision: https://phabricator.heyday.net.nz/D42
