Constructor.
Parameters
$response
WpOrgRequestsResponserequired- HTTP response.
$filename
stringoptional- File name.
Default:
''
Source
public function __construct( WpOrg\Requests\Response $response, $filename = '' ) {
$this->response = $response;
$this->filename = $filename;
}
Changelog
Version | Description |
---|---|
4.6.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.