protected function mergeGroupAttributes(array $action, array $attributes)
    {
        $namespace = $attributes['namespace'] ?? null;
        $middleware = $attributes['middleware'] ?? null;
        $as = $attributes['as'] ?? null;

        return $this->mergeNamespaceGroup(
            $this->mergeMiddlewareGroup(
                $this->mergeAsGroup($action, $as),
                $middleware),
            $namespace
        );
    }
protected function mergeGroupAttributes(array $action, array $attributes)
    {
        $namespace = $attributes['namespace'] ?? null;
        $middleware = $attributes['middleware'] ?? null;
        $as = $attributes['as'] ?? null;

        return $this->mergeNamespaceGroup(
            $this->mergeMiddlewareGroup(
                $this->mergeAsGroup($action, $as),
                $middleware),
            $namespace
        );
    }
protected function mergeGroupAttributes ( array $ action , array $ attributes ) { $ namespace = $ attributes [ 'namespace' ] ?? null ; $ middleware = $ attributes [ 'middleware' ] ?? null ; $ as = $ attributes [ 'as' ] ?? null ; return $ this -> mergeNamespaceGroup ( $ this -> mergeMiddlewareGroup ( $ this -> mergeAsGroup ( $ action , $ as ) , $ middleware ) , $ namespace ) ; }
Merge the group attributes into the action.

@param  array  $action
@param  array  $attributes The group attributes
@return array
Merge the group attributes into the action .