PhpSpec\Console\Application::__construct PHP Method

__construct() public method

public __construct ( string $version )
$version string
    public function __construct($version)
    {
        $this->container = new IndexedServiceContainer();
        parent::__construct('phpspec', $version);
    }

Usage Example

 public function __construct()
 {
     parent::__construct('PhpGuard-Spec');
     $this->configureErrorHandler();
 }