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(): stringpublic getDescription(): stringstring
public getContent(): ArrayObjectpublic getContent(): ArrayObjectArrayObject
public getHeaders(): ArrayObjectpublic getHeaders(): ArrayObjectArrayObject
public getLinks(): ArrayObjectpublic getLinks(): ArrayObjectArrayObject
public withDescription(string $description): ApiPlatform\OpenApi\Model\Responsepublic withDescription(string $description): ApiPlatform\OpenApi\Model\Response| description | string |
ApiPlatform\OpenApi\Model\Response
public withContent(ArrayObject $content): ApiPlatform\OpenApi\Model\Responsepublic withContent(ArrayObject $content): ApiPlatform\OpenApi\Model\Response| content | ArrayObject |
ApiPlatform\OpenApi\Model\Response
public withHeaders(ArrayObject $headers): ApiPlatform\OpenApi\Model\Responsepublic withHeaders(ArrayObject $headers): ApiPlatform\OpenApi\Model\Response| headers | ArrayObject |
ApiPlatform\OpenApi\Model\Response
public withLinks(ArrayObject $links): ApiPlatform\OpenApi\Model\Responsepublic 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(): arraypublic getExtensionProperties(): arrayarray