classes/Config.php
private function applyOptions(array $options)
    {
        foreach ($options as $option => $value) {
            if (isset($this->$option) && isset($value)) {
                $this->$option = $value;
            }
        }
    }
private function applyOptions(array $options)
    {
        foreach ($options as $option => $value) {
            if (isset($this->$option) && isset($value)) {
                $this->$option = $value;
            }
        }
    }
private function applyOptions ( array $ options ) { foreach ( $ options as $ option => $ value ) { if ( isset ( $ this -> $ option ) && isset ( $ value ) ) { $ this -> $ option = $ value ; } } }
Apply the provided options.

@param array $options Options

@return void
Apply the provided options .