Gajus\Dindent\Indenter::__construct PHP Method

__construct() public method

public __construct ( array $options = [] )
$options array
    public function __construct(array $options = array())
    {
        foreach ($options as $name => $value) {
            if (!array_key_exists($name, $this->options)) {
                throw new Exception\InvalidArgumentException('Unrecognized option.');
            }
            $this->options[$name] = $value;
        }
    }