FileMaster
Search
Toggle Dark Mode
Home
/
.
/
wp-content
/
plugins
/
ameliabooking
/
vendor
/
apimatic
/
core
/
tests
/
Mocking
/
Other
Edit File: MockChild3.php
<?php namespace Core\Tests\Mocking\Other; use stdClass; class MockChild3 extends MockClass implements \JsonSerializable { /** * @var string */ public $childBody; public function __construct($childBody, array $body) { $this->childBody = $childBody; parent::__construct($body); } /** * Add a property to this model. * * @param string $name Name of property * @param mixed $value Value of property */ public function addAdditionalProperty(string $name, $value) { $this->additionalProperties[$name] = $value; } #[\ReturnTypeWillChange] // @phan-suppress-current-line PhanUndeclaredClassAttribute for (php < 8.1) public function jsonSerialize() { return new stdClass(); } }
Save
Back