protected function mergeArguments($routeArguments, $requestArguments)
    {
        $input  = array($routeArguments, $requestArguments);
        $output = [];

        foreach ($input as $keyValueStore) {

            foreach ($keyValueStore as $key => $value) {
                $output[$this->escape($key)] = strval($value);
            }
        }

        return $output;
    }
protected function mergeArguments($routeArguments, $requestArguments)
    {
        $input  = array($routeArguments, $requestArguments);
        $output = [];

        foreach ($input as $keyValueStore) {

            foreach ($keyValueStore as $key => $value) {
                $output[$this->escape($key)] = strval($value);
            }
        }

        return $output;
    }
protected function mergeArguments ( $ routeArguments , $ requestArguments ) { $ input = array ( $ routeArguments , $ requestArguments ) ; $ output = [ ] ; foreach ( $ input as $ keyValueStore ) { foreach ( $ keyValueStore as $ key => $ value ) { $ output [ $ this -> escape ( $ key ) ] = strval ( $ value ) ; } } return $ output ; }
Merges arguments retrieved from route with arguments
retrieved normally with request.

@param array                   $routeArguments   The arguments from route
@param Doozr_Request_Arguments $requestArguments The argument from request

@author Benjamin Carl <opensource@clickalicious.de>
@return array The resulting merged arguments array
@access protected
Merges arguments retrieved from route with arguments retrieved normally with request .