NOTE: For Version 3 of the AWS SDK for PHP, please see the V3 User Guide and V3 API Reference.

# Class StatusCodeVisitor

Location visitor used to add the status code of a response to a key in the result

  Guzzle\Service\Command\LocationVisitor\Response\AbstractResponseVisitor implements Guzzle\Service\Command\LocationVisitor\Response\ResponseVisitorInterface
  Guzzle\Service\Command\LocationVisitor\Response\StatusCodeVisitor

Namespace: Guzzle\Service\Command\LocationVisitor\Response
Located at Guzzle/Service/Command/LocationVisitor/Response/StatusCodeVisitor.php

## Methods summary

- `public` `visit ( Guzzle\Service\Command\CommandInterface $command, Guzzle\Http\Message\Response $response, Guzzle\Service\Description\Parameter $param, mixed & $value, mixed $context = null )`

  Called once for each parameter being visited that matches the location type

## Methods detail

# `public`
`visit( `Guzzle\Service\Command\CommandInterface` $command, `Guzzle\Http\Message\Response` $response, `Guzzle\Service\Description\Parameter` $param, mixed & $value, mixed $context = null )`

Called once for each parameter being visited that matches the location type

#### Parameters

$command
  ``Guzzle\Service\Command\CommandInterface``
  $command Command being visited
$response
  ``Guzzle\Http\Message\Response``
  $response Response being visited
$param
  ``Guzzle\Service\Description\Parameter``
  $param Parameter being visited
$value
  `mixed`
  $value Result associative array value being updated by reference
$context
  `mixed`
  $context Parsing context

#### Overrides

`Guzzle\Service\Command\LocationVisitor\Response\AbstractResponseVisitor::visit`

### Methods inherited from Guzzle\Service\Command\LocationVisitor\Response\AbstractResponseVisitor

`after()`, `before()`

### Magic methods summary