class ApiPlatform\OpenApi\Model\Encoding
{
public __construct(string $contentType, null|ArrayObject $headers, string $style, bool $explode, bool $allowReserved)
public getContentType(): string
public getHeaders(): ArrayObject
public getStyle(): string
public canExplode(): bool
public getExplode(): bool
public canAllowReserved(): bool
public getAllowReserved(): bool
public withContentType(string $contentType): ApiPlatform\OpenApi\Model\Encoding
public withHeaders(null|ArrayObject $headers): ApiPlatform\OpenApi\Model\Encoding
public withStyle(string $style): ApiPlatform\OpenApi\Model\Encoding
public withExplode(bool $explode): ApiPlatform\OpenApi\Model\Encoding
public withAllowReserved(bool $allowReserved): ApiPlatform\OpenApi\Model\Encoding
public withExtensionProperty(string $key, $value)
public getExtensionProperties(): array
}
public __construct(string $contentType, null|ArrayObject $headers, string $style, bool $explode, bool $allowReserved)
contentType | string | |
headers | ArrayObject | |
style | string | |
explode | bool | |
allowReserved | bool |
public getContentType(): string
string
public getHeaders(): ArrayObject
ArrayObject
public getStyle(): string
string
public canExplode(): bool
bool
public getExplode(): bool
bool
public canAllowReserved(): bool
bool
public getAllowReserved(): bool
bool
public withContentType(string $contentType): ApiPlatform\OpenApi\Model\Encoding
contentType | string |
<a href="/docs/main/references/OpenApi/Model/Encoding">ApiPlatform\OpenApi\Model\Encoding</a>
public withHeaders(null|ArrayObject $headers): ApiPlatform\OpenApi\Model\Encoding
headers | ArrayObject |
<a href="/docs/main/references/OpenApi/Model/Encoding">ApiPlatform\OpenApi\Model\Encoding</a>
public withStyle(string $style): ApiPlatform\OpenApi\Model\Encoding
style | string |
<a href="/docs/main/references/OpenApi/Model/Encoding">ApiPlatform\OpenApi\Model\Encoding</a>
public withExplode(bool $explode): ApiPlatform\OpenApi\Model\Encoding
explode | bool |
<a href="/docs/main/references/OpenApi/Model/Encoding">ApiPlatform\OpenApi\Model\Encoding</a>
public withAllowReserved(bool $allowReserved): ApiPlatform\OpenApi\Model\Encoding
allowReserved | bool |
<a href="/docs/main/references/OpenApi/Model/Encoding">ApiPlatform\OpenApi\Model\Encoding</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