protected function prepareArguments(array $recipe, array $arguments)
    {
        if (true === isset($recipe['arguments'])) {
            $recipe['arguments'] = array_merge($recipe['arguments'], $arguments);
        } else {
            $recipe['arguments'] = $arguments;
        }

        return $recipe;
    }
protected function prepareArguments(array $recipe, array $arguments)
    {
        if (true === isset($recipe['arguments'])) {
            $recipe['arguments'] = array_merge($recipe['arguments'], $arguments);
        } else {
            $recipe['arguments'] = $arguments;
        }

        return $recipe;
    }
protected function prepareArguments ( array $ recipe , array $ arguments ) { if ( true === isset ( $ recipe [ 'arguments' ] ) ) { $ recipe [ 'arguments' ] = array_merge ( $ recipe [ 'arguments' ] , $ arguments ) ; } else { $ recipe [ 'arguments' ] = $ arguments ; } return $ recipe ; }
Prepares the "arguments" in recipe either by creating them or merging runtime arguments in.

@param array $recipe    The recipe to prepare arguments for/in.
@param array $arguments The optional runtime arguments to add.

@author Benjamin Carl <opensource@clickalicious.de>

@return array The resulting and prepared recipe.
Prepares the arguments in recipe either by creating them or merging runtime arguments in .