Transphpile\Console\Application::__construct PHP Method

__construct() public method

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

Usage Example

Exemplo n.º 1
0
 function __construct()
 {
     parent::__construct();
     $this->io = new MockIo();
 }