src/Utility/ICal/IcEvent.php
public function configureEvent(array $params = []) : void
    {
        $params = array_merge($this->defaultParams, $params);
        foreach ($params as $name => $value) {
            $method = 'set' . ucfirst((string)$name);
            if (method_exists($this, $method) && is_callable([$this, $method])) {
                $this->$method($value);
            }
        }
    }
public function configureEvent(array $params = []) : void
    {
        $params = array_merge($this->defaultParams, $params);
        foreach ($params as $name => $value) {
            $method = 'set' . ucfirst((string)$name);
            if (method_exists($this, $method) && is_callable([$this, $method])) {
                $this->$method($value);
            }
        }
    }
public function configureEvent ( array $ params = [ ] ) : void { $ params = array_merge ( $ this -> defaultParams , $ params ) ; foreach ( $ params as $ name => $ value ) { $ method = 'set' . ucfirst ( ( string ) $ name ) ; if ( method_exists ( $ this , $ method ) && is_callable ( [ $ this , $ method ] ) ) { $ this -> $ method ( $ value ) ; } } }
Configure Event parameters

@param mixed[] $params Event parameters
@return void
Configure Event parameters