class ApiPlatform\OpenApi\Model\Response
{
public __construct(string $description, null|ArrayObject $content, null|ArrayObject $headers, null|ArrayObject $links)
public getDescription(): string
public getContent(): ArrayObject
public getHeaders(): ArrayObject
public getLinks(): ArrayObject
public withDescription(string $description): ApiPlatform\OpenApi\Model\Response
public withContent(ArrayObject $content): ApiPlatform\OpenApi\Model\Response
public withHeaders(ArrayObject $headers): ApiPlatform\OpenApi\Model\Response
public withLinks(ArrayObject $links): ApiPlatform\OpenApi\Model\Response
public withExtensionProperty(string $key, $value)
public getExtensionProperties(): array
}
public __construct(string $description, null|ArrayObject $content, null|ArrayObject $headers, null|ArrayObject $links)
description | string | |
content | ArrayObject | |
headers | ArrayObject | |
links | ArrayObject |
public getDescription(): string
string
public getContent(): ArrayObject
ArrayObject
public getHeaders(): ArrayObject
ArrayObject
public getLinks(): ArrayObject
ArrayObject
public withDescription(string $description): ApiPlatform\OpenApi\Model\Response
description | string |
<a href="/docs/main/references/OpenApi/Model/Response">ApiPlatform\OpenApi\Model\Response</a>
public withContent(ArrayObject $content): ApiPlatform\OpenApi\Model\Response
content | ArrayObject |
<a href="/docs/main/references/OpenApi/Model/Response">ApiPlatform\OpenApi\Model\Response</a>
public withHeaders(ArrayObject $headers): ApiPlatform\OpenApi\Model\Response
headers | ArrayObject |
<a href="/docs/main/references/OpenApi/Model/Response">ApiPlatform\OpenApi\Model\Response</a>
public withLinks(ArrayObject $links): ApiPlatform\OpenApi\Model\Response
links | ArrayObject |
<a href="/docs/main/references/OpenApi/Model/Response">ApiPlatform\OpenApi\Model\Response</a>
public withExtensionProperty(string $key, $value)
key | string | |
value |
public getExtensionProperties(): array
array
Made with love by
Les-Tilleuls.coop can help you design and develop your APIs and web projects, and train your teams in API Platform, Symfony, Next.js, Kubernetes and a wide range of other technologies.
Learn more