protected function setOptions($options)
    {
        foreach (array('directory', 'path', 'ignore', 'allowed_errors') as $key) {
            if (array_key_exists($key, $options)) {
                $this->{$key} = $options[$key];
            }
        }
    }
protected function setOptions($options)
    {
        foreach (array('directory', 'path', 'ignore', 'allowed_errors') as $key) {
            if (array_key_exists($key, $options)) {
                $this->{$key} = $options[$key];
            }
        }
    }
protected function setOptions ( $ options ) { foreach ( array ( 'directory' , 'path' , 'ignore' , 'allowed_errors' ) as $ key ) { if ( array_key_exists ( $ key , $ options ) ) { $ this -> { $ key } = $ options [ $ key ] ; } } }
Handle this plugin's options.
@param $options
Handle this plugin s options .