public __construct ( string $path, array $options ) | ||
$path | string | |
$options | array |
public function __construct($path, array $options)
{
$this->path = $path;
$resolver = new OptionsResolver();
$this->setDefaultOptions($resolver);
$this->options = $resolver->resolve($options);
}