private function configure(array $config = []): void
    {
        foreach ($config as $param => $value) {
            $property = $this->toCamelCase($param);
            if (property_exists(self::class, $property)) {
                $this->$property = $value;
            }
        }
    }
private function configure(array $config = []): void
    {
        foreach ($config as $param => $value) {
            $property = $this->toCamelCase($param);
            if (property_exists(self::class, $property)) {
                $this->$property = $value;
            }
        }
    }
private function configure ( array $ config = [ ] ) : void { foreach ( $ config as $ param => $ value ) { $ property = $ this -> toCamelCase ( $ param ) ; if ( property_exists ( self :: class , $ property ) ) { $ this -> $ property = $ value ; } } }
Overrides default configuration settings.

@param array $config
Overrides default configuration settings .