kahlan\cli\CommandLine::__construct PHP Method

__construct() public method

The Constructor.
public __construct ( array $options = [] )
$options array An array of option's attributes where keys are option's names and values are an array of attributes.
    public function __construct($options = [])
    {
        foreach ($options as $name => $config) {
            $this->option($name, $config);
        }
    }