public function setControllerSettings(array $settings, $override = false)
    {
        $this->controllerSettings = $override ? $settings : array_replace($this->controllerSettings, $settings);
    }
public function setControllerSettings(array $settings, $override = false)
    {
        $this->controllerSettings = $override ? $settings : array_replace($this->controllerSettings, $settings);
    }
public function setControllerSettings ( array $ settings , $ override = false ) { $ this -> controllerSettings = $ override ? $ settings : array_replace ( $ this -> controllerSettings , $ settings ) ; }
Set the controller settings

@param array $settings Controller settings
@param bool $override  Override current settings (instead of amending them)
Set the controller settings