kahlan\cli\CommandLine::__construct PHP 메소드

__construct() 공개 메소드

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);
        }
    }