Get a POST field from the request
Parameters
string $field Field to retrieve:
Return value
mixed|null
Overrides EntityEnclosingRequestInterface::getPostField
File
- drupal/core/vendor/guzzle/http/Guzzle/Http/Message/EntityEnclosingRequest.php, line 159
Class
- EntityEnclosingRequest
- HTTP request that sends an entity-body in the request message (POST, PUT, PATCH, DELETE)
Namespace
Guzzle\Http\Message
Code
public function getPostField($field) {
return $this->postFields
->get($field);
}