public function prefixKeys(array $arguments, $prefix)
    {
        $normalized = [];
        $skip = ['id', 'ID'];

        foreach ($arguments as $key => $value) {
            if (in_array($key, $skip)) {
                $normalized[$key] = $value;

                continue;
            }

            $normalized["{$prefix}{$key}"] = $value;
        }

        return $normalized;
    }
public function prefixKeys(array $arguments, $prefix)
    {
        $normalized = [];
        $skip = ['id', 'ID'];

        foreach ($arguments as $key => $value) {
            if (in_array($key, $skip)) {
                $normalized[$key] = $value;

                continue;
            }

            $normalized["{$prefix}{$key}"] = $value;
        }

        return $normalized;
    }
public function prefixKeys ( array $ arguments , $ prefix ) { $ normalized = [ ] ; $ skip = [ 'id' , 'ID' ] ; foreach ( $ arguments as $ key => $ value ) { if ( in_array ( $ key , $ skip ) ) { $ normalized [ $ key ] = $ value ; continue ; } $ normalized [ "{$prefix}{$key}" ] = $ value ; } return $ normalized ; }
Prefix arguments keys.

@param  array  $arguments
@param  string $prefix

@return array
Prefix arguments keys .