Reference
C
Class

ApiPlatform\OpenApi\Model\Encoding

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
}
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
}

Methods

__construct

public __construct(string $contentType, null|ArrayObject $headers, string $style, bool $explode, bool $allowReserved)
public __construct(string $contentType, null|ArrayObject $headers, string $style, bool $explode, bool $allowReserved)

Parameters

contentTypestring
headersArrayObject
stylestring
explodebool
allowReservedbool

getContentType

public getContentType(): string
public getContentType(): string

Returns

string

getHeaders

public getHeaders(): ArrayObject
public getHeaders(): ArrayObject

Returns

ArrayObject

getStyle

public getStyle(): string
public getStyle(): string

Returns

string

canExplode

public canExplode(): bool
public canExplode(): bool

Returns

bool

getExplode

public getExplode(): bool
public getExplode(): bool

Returns

bool

canAllowReserved

public canAllowReserved(): bool
public canAllowReserved(): bool

Returns

bool

getAllowReserved

public getAllowReserved(): bool
public getAllowReserved(): bool

Returns

bool

withContentType

public withContentType(string $contentType): ApiPlatform\OpenApi\Model\Encoding
public withContentType(string $contentType): ApiPlatform\OpenApi\Model\Encoding

Parameters

contentTypestring

Returns

ApiPlatform\OpenApi\Model\Encoding

withHeaders

public withHeaders(null|ArrayObject $headers): ApiPlatform\OpenApi\Model\Encoding
public withHeaders(null|ArrayObject $headers): ApiPlatform\OpenApi\Model\Encoding

Parameters

headersArrayObject

Returns

ApiPlatform\OpenApi\Model\Encoding

withStyle

public withStyle(string $style): ApiPlatform\OpenApi\Model\Encoding
public withStyle(string $style): ApiPlatform\OpenApi\Model\Encoding

Parameters

stylestring

Returns

ApiPlatform\OpenApi\Model\Encoding

withExplode

public withExplode(bool $explode): ApiPlatform\OpenApi\Model\Encoding
public withExplode(bool $explode): ApiPlatform\OpenApi\Model\Encoding

Parameters

explodebool

Returns

ApiPlatform\OpenApi\Model\Encoding

withAllowReserved

public withAllowReserved(bool $allowReserved): ApiPlatform\OpenApi\Model\Encoding
public withAllowReserved(bool $allowReserved): ApiPlatform\OpenApi\Model\Encoding

Parameters

allowReservedbool

Returns

ApiPlatform\OpenApi\Model\Encoding

withExtensionProperty

public withExtensionProperty(string $key, $value)
public withExtensionProperty(string $key, $value)

Parameters

keystring
value

Returns

getExtensionProperties

public getExtensionProperties(): array
public getExtensionProperties(): array

Returns

array

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop