Documentation

ResponseFormatSame extends Constraint
in package

Asserts that the response is in the given format.

Tags
author

Kévin Dunglas dunglas@gmail.com

Table of Contents

$format  : mixed
$request  : mixed
__construct()  : mixed
toString()  : string
{@inheritdoc}
additionalFailureDescription()  : string
failureDescription()  : string
matches()  : bool

Properties

Methods

__construct()

public __construct(Request $request, string|null $format) : mixed
Parameters
$request : Request
$format : string|null
Return values
mixed

Search results