private static function adjustOptions(array $options) {
        $result = [];

        foreach($options as $key => $value) {
            $result[str_replace("-", "_", $key)] = $value;
        }

        return $result;
    }
private static function adjustOptions(array $options) {
        $result = [];

        foreach($options as $key => $value) {
            $result[str_replace("-", "_", $key)] = $value;
        }

        return $result;
    }
private static function adjustOptions ( array $ options ) { $ result = [ ] ; foreach ( $ options as $ key => $ value ) { $ result [ str_replace ( "-" , "_" , $ key ) ] = $ value ; } return $ result ; }
replaces dashes with underscore in keys of an array
replaces dashes with underscore in keys of an array