Guides
Tutorials
class ApiPlatform\OpenApi\Model\Parameter
{
public __construct(string $name, string $in, string $description, bool $required, bool $deprecated, bool $allowEmptyValue, array $schema, null|string $style, bool $explode, bool $allowReserved, $example, null|ArrayObject $examples, null|ArrayObject $content)
public getName(): string
public getIn(): string
public getDescription(): string
public getRequired(): bool
public getDeprecated(): bool
public canAllowEmptyValue(): bool
public getAllowEmptyValue(): bool
public getSchema(): array
public getStyle(): string
public canExplode(): bool
public getExplode(): bool
public canAllowReserved(): bool
public getAllowReserved(): bool
public getExample()
public getExamples(): ArrayObject
public getContent(): ArrayObject
public withName(string $name): ApiPlatform\OpenApi\Model\Parameter
public withIn(string $in): ApiPlatform\OpenApi\Model\Parameter
public withDescription(string $description): ApiPlatform\OpenApi\Model\Parameter
public withRequired(bool $required): ApiPlatform\OpenApi\Model\Parameter
public withDeprecated(bool $deprecated): ApiPlatform\OpenApi\Model\Parameter
public withAllowEmptyValue(bool $allowEmptyValue): ApiPlatform\OpenApi\Model\Parameter
public withSchema(array $schema): ApiPlatform\OpenApi\Model\Parameter
public withStyle(string $style): ApiPlatform\OpenApi\Model\Parameter
public withExplode(bool $explode): ApiPlatform\OpenApi\Model\Parameter
public withAllowReserved(bool $allowReserved): ApiPlatform\OpenApi\Model\Parameter
public withExample($example): ApiPlatform\OpenApi\Model\Parameter
public withExamples(ArrayObject $examples): ApiPlatform\OpenApi\Model\Parameter
public withContent(ArrayObject $content): ApiPlatform\OpenApi\Model\Parameter
public withExtensionProperty(string $key, $value)
public getExtensionProperties(): array
}
class ApiPlatform\OpenApi\Model\Parameter
{
public __construct(string $name, string $in, string $description, bool $required, bool $deprecated, bool $allowEmptyValue, array $schema, null|string $style, bool $explode, bool $allowReserved, $example, null|ArrayObject $examples, null|ArrayObject $content)
public getName(): string
public getIn(): string
public getDescription(): string
public getRequired(): bool
public getDeprecated(): bool
public canAllowEmptyValue(): bool
public getAllowEmptyValue(): bool
public getSchema(): array
public getStyle(): string
public canExplode(): bool
public getExplode(): bool
public canAllowReserved(): bool
public getAllowReserved(): bool
public getExample()
public getExamples(): ArrayObject
public getContent(): ArrayObject
public withName(string $name): ApiPlatform\OpenApi\Model\Parameter
public withIn(string $in): ApiPlatform\OpenApi\Model\Parameter
public withDescription(string $description): ApiPlatform\OpenApi\Model\Parameter
public withRequired(bool $required): ApiPlatform\OpenApi\Model\Parameter
public withDeprecated(bool $deprecated): ApiPlatform\OpenApi\Model\Parameter
public withAllowEmptyValue(bool $allowEmptyValue): ApiPlatform\OpenApi\Model\Parameter
public withSchema(array $schema): ApiPlatform\OpenApi\Model\Parameter
public withStyle(string $style): ApiPlatform\OpenApi\Model\Parameter
public withExplode(bool $explode): ApiPlatform\OpenApi\Model\Parameter
public withAllowReserved(bool $allowReserved): ApiPlatform\OpenApi\Model\Parameter
public withExample($example): ApiPlatform\OpenApi\Model\Parameter
public withExamples(ArrayObject $examples): ApiPlatform\OpenApi\Model\Parameter
public withContent(ArrayObject $content): ApiPlatform\OpenApi\Model\Parameter
public withExtensionProperty(string $key, $value)
public getExtensionProperties(): array
}
public __construct(string $name, string $in, string $description, bool $required, bool $deprecated, bool $allowEmptyValue, array $schema, null|string $style, bool $explode, bool $allowReserved, $example, null|ArrayObject $examples, null|ArrayObject $content)
public __construct(string $name, string $in, string $description, bool $required, bool $deprecated, bool $allowEmptyValue, array $schema, null|string $style, bool $explode, bool $allowReserved, $example, null|ArrayObject $examples, null|ArrayObject $content)
name | string | |
in | string | |
description | string | |
required | bool | |
deprecated | bool | |
allowEmptyValue | bool | |
schema | array | |
style | string | |
explode | bool | |
allowReserved | bool | |
example | ||
examples | ArrayObject | |
content | ArrayObject |
public getName(): string
public getName(): string
string
public getIn(): string
public getIn(): string
string
public getDescription(): string
public getDescription(): string
string
public getRequired(): bool
public getRequired(): bool
bool
public getDeprecated(): bool
public getDeprecated(): bool
bool
public canAllowEmptyValue(): bool
public canAllowEmptyValue(): bool
bool
public getAllowEmptyValue(): bool
public getAllowEmptyValue(): bool
bool
public getSchema(): array
public getSchema(): array
array
public getStyle(): string
public getStyle(): string
string
public canExplode(): bool
public canExplode(): bool
bool
public getExplode(): bool
public getExplode(): bool
bool
public canAllowReserved(): bool
public canAllowReserved(): bool
bool
public getAllowReserved(): bool
public getAllowReserved(): bool
bool
public getExample()
public getExample()
public getExamples(): ArrayObject
public getExamples(): ArrayObject
ArrayObject
public getContent(): ArrayObject
public getContent(): ArrayObject
ArrayObject
public withName(string $name): ApiPlatform\OpenApi\Model\Parameter
public withName(string $name): ApiPlatform\OpenApi\Model\Parameter
name | string |
ApiPlatform\OpenApi\Model\Parameter
public withIn(string $in): ApiPlatform\OpenApi\Model\Parameter
public withIn(string $in): ApiPlatform\OpenApi\Model\Parameter
in | string |
ApiPlatform\OpenApi\Model\Parameter
public withDescription(string $description): ApiPlatform\OpenApi\Model\Parameter
public withDescription(string $description): ApiPlatform\OpenApi\Model\Parameter
description | string |
ApiPlatform\OpenApi\Model\Parameter
public withRequired(bool $required): ApiPlatform\OpenApi\Model\Parameter
public withRequired(bool $required): ApiPlatform\OpenApi\Model\Parameter
required | bool |
ApiPlatform\OpenApi\Model\Parameter
public withDeprecated(bool $deprecated): ApiPlatform\OpenApi\Model\Parameter
public withDeprecated(bool $deprecated): ApiPlatform\OpenApi\Model\Parameter
deprecated | bool |
ApiPlatform\OpenApi\Model\Parameter
public withAllowEmptyValue(bool $allowEmptyValue): ApiPlatform\OpenApi\Model\Parameter
public withAllowEmptyValue(bool $allowEmptyValue): ApiPlatform\OpenApi\Model\Parameter
allowEmptyValue | bool |
ApiPlatform\OpenApi\Model\Parameter
public withSchema(array $schema): ApiPlatform\OpenApi\Model\Parameter
public withSchema(array $schema): ApiPlatform\OpenApi\Model\Parameter
schema | array |
ApiPlatform\OpenApi\Model\Parameter
public withStyle(string $style): ApiPlatform\OpenApi\Model\Parameter
public withStyle(string $style): ApiPlatform\OpenApi\Model\Parameter
style | string |
ApiPlatform\OpenApi\Model\Parameter
public withExplode(bool $explode): ApiPlatform\OpenApi\Model\Parameter
public withExplode(bool $explode): ApiPlatform\OpenApi\Model\Parameter
explode | bool |
ApiPlatform\OpenApi\Model\Parameter
public withAllowReserved(bool $allowReserved): ApiPlatform\OpenApi\Model\Parameter
public withAllowReserved(bool $allowReserved): ApiPlatform\OpenApi\Model\Parameter
allowReserved | bool |
ApiPlatform\OpenApi\Model\Parameter
public withExample($example): ApiPlatform\OpenApi\Model\Parameter
public withExample($example): ApiPlatform\OpenApi\Model\Parameter
example |
ApiPlatform\OpenApi\Model\Parameter
public withExamples(ArrayObject $examples): ApiPlatform\OpenApi\Model\Parameter
public withExamples(ArrayObject $examples): ApiPlatform\OpenApi\Model\Parameter
examples | ArrayObject |
ApiPlatform\OpenApi\Model\Parameter
public withContent(ArrayObject $content): ApiPlatform\OpenApi\Model\Parameter
public withContent(ArrayObject $content): ApiPlatform\OpenApi\Model\Parameter
content | ArrayObject |
ApiPlatform\OpenApi\Model\Parameter
public withExtensionProperty(string $key, $value)
public withExtensionProperty(string $key, $value)
key | string | |
value |
public getExtensionProperties(): array
public getExtensionProperties(): array
array