Transphpile\Console\Application::__construct PHP Метод

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

public __construct ( )
    function __construct()
    {
        parent::__construct('Transphpile', self::TRANSPHPILE_SEMVER);
        $this->add(new Commands\TranspileCommand());
        $this->add(new Commands\SelfUpdateCommand());
    }

Usage Example

Пример #1
0
 function __construct()
 {
     parent::__construct();
     $this->io = new MockIo();
 }