private function visitOuterArray(
        Parameter $model,
        ResultInterface $result,
        ResponseInterface $response,
        array &$context
    ) {
        // Use 'location' defined on the top of the model
        if (!($location = $model->getLocation())) {
            return;
        }

        // Trigger the before method on each unique visitor location
        if (!isset($context['visitors'][$location])) {
            $result = $this->triggerBeforeVisitor($location, $model, $result, $response, $context);
        }

        // Visit each item in the response
        $result = $this->responseLocations[$location]->visit($result, $response, $model);

        return $result;
    }
private function visitOuterArray(
        Parameter $model,
        ResultInterface $result,
        ResponseInterface $response,
        array &$context
    ) {
        // Use 'location' defined on the top of the model
        if (!($location = $model->getLocation())) {
            return;
        }

        // Trigger the before method on each unique visitor location
        if (!isset($context['visitors'][$location])) {
            $result = $this->triggerBeforeVisitor($location, $model, $result, $response, $context);
        }

        // Visit each item in the response
        $result = $this->responseLocations[$location]->visit($result, $response, $model);

        return $result;
    }
private function visitOuterArray ( Parameter $ model , ResultInterface $ result , ResponseInterface $ response , array & $ context ) { // Use 'location' defined on the top of the model if ( ! ( $ location = $ model -> getLocation ( ) ) ) { return ; } // Trigger the before method on each unique visitor location if ( ! isset ( $ context [ 'visitors' ] [ $ location ] ) ) { $ result = $ this -> triggerBeforeVisitor ( $ location , $ model , $ result , $ response , $ context ) ; } // Visit each item in the response $ result = $ this -> responseLocations [ $ location ] -> visit ( $ result , $ response , $ model ) ; return $ result ; }
Visits the outer array

@param Parameter         $model
@param ResultInterface   $result
@param ResponseInterface $response
@param array             $context
@return ResultInterface|void
Visits the outer array