Changeset 51960 for trunk/tests/phpunit/includes/spy-rest-server.php
- Timestamp:
- 10/31/2021 06:06:02 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/spy-rest-server.php
r47253 r51960 7 7 public $last_request = null; 8 8 public $override_by_default = false; 9 public $status = null; 9 10 10 11 /** … … 36 37 public function send_header( $header, $value ) { 37 38 $this->sent_headers[ $header ] = $value; 39 } 40 41 /** 42 * Stores last set status. 43 * @param int $code HTTP status. 44 */ 45 public function set_status( $status ) { 46 $this->status = $status; 38 47 } 39 48
Note: See TracChangeset
for help on using the changeset viewer.