Guides
Tutorials
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
}
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)
public __construct(string $description, null|ArrayObject $content, null|ArrayObject $headers, null|ArrayObject $links)
description | string | |
content | ArrayObject | |
headers | ArrayObject | |
links | ArrayObject |
public getDescription(): string
public getDescription(): string
string
public getContent(): ArrayObject
public getContent(): ArrayObject
ArrayObject
public getHeaders(): ArrayObject
public getHeaders(): ArrayObject
ArrayObject
public getLinks(): ArrayObject
public getLinks(): ArrayObject
ArrayObject
public withDescription(string $description): ApiPlatform\OpenApi\Model\Response
public withDescription(string $description): ApiPlatform\OpenApi\Model\Response
description | string |
ApiPlatform\OpenApi\Model\Response
public withContent(ArrayObject $content): ApiPlatform\OpenApi\Model\Response
public withContent(ArrayObject $content): ApiPlatform\OpenApi\Model\Response
content | ArrayObject |
ApiPlatform\OpenApi\Model\Response
public withHeaders(ArrayObject $headers): ApiPlatform\OpenApi\Model\Response
public withHeaders(ArrayObject $headers): ApiPlatform\OpenApi\Model\Response
headers | ArrayObject |
ApiPlatform\OpenApi\Model\Response
public withLinks(ArrayObject $links): ApiPlatform\OpenApi\Model\Response
public withLinks(ArrayObject $links): ApiPlatform\OpenApi\Model\Response
links | ArrayObject |
ApiPlatform\OpenApi\Model\Response
public withExtensionProperty(string $key, $value)
public withExtensionProperty(string $key, $value)
key | string | |
value |
public getExtensionProperties(): array
public getExtensionProperties(): array
array