function JsonSchemaTestTrait::doProphesize
Method to make prophecy public for use in data provider closures.
Return value
\Prophecy\Prophecy\ObjectProphecy<object>
File
-
core/
modules/ serialization/ tests/ src/ Traits/ JsonSchemaTestTrait.php, line 40
Class
- JsonSchemaTestTrait
- Trait for testing JSON Schema validity and fit to sample data.
Namespace
Drupal\Tests\serialization\TraitsCode
public function doProphesize(?string $classOrInterface = NULL) : ObjectProphecy {
return $this->prophesize($classOrInterface);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.