PHPSpec2\Console\Application::__construct PHP Method

__construct() public method

public __construct ( $version )
    public function __construct($version)
    {
        parent::__construct('PHPSpec2', $version);
        $dispatcher = new EventDispatcher();
        $this->add(new Command\RunCommand($dispatcher));
        $this->add(new Command\DescribeCommand($dispatcher));
    }
Application