Guides
Tutorials
class ApiPlatform\OpenApi\Model\Schema extends ArrayObject implements Countable, Serializable, ArrayAccess, Traversable, IteratorAggregate
{
public __construct($discriminator, bool $readOnly, bool $writeOnly, null|string $xml, $externalDocs, $example, bool $deprecated)
public setDefinitions(array $definitions): null
public getArrayCopy(): array
public getDefinitions(): ArrayObject
public getDiscriminator()
public getReadOnly(): bool
public getWriteOnly(): bool
public getXml(): string
public getExternalDocs()
public getExample()
public getDeprecated(): bool
public withDiscriminator($discriminator): ApiPlatform\OpenApi\Model\Schema
public withReadOnly(bool $readOnly): ApiPlatform\OpenApi\Model\Schema
public withWriteOnly(bool $writeOnly): ApiPlatform\OpenApi\Model\Schema
public withXml(string $xml): ApiPlatform\OpenApi\Model\Schema
public withExternalDocs($externalDocs): ApiPlatform\OpenApi\Model\Schema
public withExample($example): ApiPlatform\OpenApi\Model\Schema
public withDeprecated(bool $deprecated): ApiPlatform\OpenApi\Model\Schema
public offsetExists($key)
public offsetGet($key)
public offsetSet($key, $value)
public offsetUnset($key)
public append($value)
public count()
public getFlags()
public setFlags(int $flags)
public asort(int $flags)
public ksort(int $flags)
public uasort(callable $callback)
public uksort(callable $callback)
public natsort()
public natcasesort()
public unserialize(string $data)
public serialize()
public __serialize()
public __unserialize(array $data)
public getIterator()
public exchangeArray(object|array $array)
public setIteratorClass(string $iteratorClass)
public getIteratorClass()
public __debugInfo()
public withExtensionProperty(string $key, $value)
public getExtensionProperties(): array
}
class ApiPlatform\OpenApi\Model\Schema extends ArrayObject implements Countable, Serializable, ArrayAccess, Traversable, IteratorAggregate
{
public __construct($discriminator, bool $readOnly, bool $writeOnly, null|string $xml, $externalDocs, $example, bool $deprecated)
public setDefinitions(array $definitions): null
public getArrayCopy(): array
public getDefinitions(): ArrayObject
public getDiscriminator()
public getReadOnly(): bool
public getWriteOnly(): bool
public getXml(): string
public getExternalDocs()
public getExample()
public getDeprecated(): bool
public withDiscriminator($discriminator): ApiPlatform\OpenApi\Model\Schema
public withReadOnly(bool $readOnly): ApiPlatform\OpenApi\Model\Schema
public withWriteOnly(bool $writeOnly): ApiPlatform\OpenApi\Model\Schema
public withXml(string $xml): ApiPlatform\OpenApi\Model\Schema
public withExternalDocs($externalDocs): ApiPlatform\OpenApi\Model\Schema
public withExample($example): ApiPlatform\OpenApi\Model\Schema
public withDeprecated(bool $deprecated): ApiPlatform\OpenApi\Model\Schema
public offsetExists($key)
public offsetGet($key)
public offsetSet($key, $value)
public offsetUnset($key)
public append($value)
public count()
public getFlags()
public setFlags(int $flags)
public asort(int $flags)
public ksort(int $flags)
public uasort(callable $callback)
public uksort(callable $callback)
public natsort()
public natcasesort()
public unserialize(string $data)
public serialize()
public __serialize()
public __unserialize(array $data)
public getIterator()
public exchangeArray(object|array $array)
public setIteratorClass(string $iteratorClass)
public getIteratorClass()
public __debugInfo()
public withExtensionProperty(string $key, $value)
public getExtensionProperties(): array
}
public __construct($discriminator, bool $readOnly, bool $writeOnly, null|string $xml, $externalDocs, $example, bool $deprecated)
public __construct($discriminator, bool $readOnly, bool $writeOnly, null|string $xml, $externalDocs, $example, bool $deprecated)
discriminator | ||
readOnly | bool | |
writeOnly | bool | |
xml | string | |
externalDocs | ||
example | ||
deprecated | bool |
public setDefinitions(array $definitions): null
public setDefinitions(array $definitions): null
definitions | array |
null
public getArrayCopy(): array
public getArrayCopy(): array
array
public getDefinitions(): ArrayObject
public getDefinitions(): ArrayObject
ArrayObject
public getDiscriminator()
public getDiscriminator()
public getReadOnly(): bool
public getReadOnly(): bool
bool
public getWriteOnly(): bool
public getWriteOnly(): bool
bool
public getXml(): string
public getXml(): string
string
public getExternalDocs()
public getExternalDocs()
public getExample()
public getExample()
public getDeprecated(): bool
public getDeprecated(): bool
bool
public withDiscriminator($discriminator): ApiPlatform\OpenApi\Model\Schema
public withDiscriminator($discriminator): ApiPlatform\OpenApi\Model\Schema
discriminator |
ApiPlatform\OpenApi\Model\Schema
public withReadOnly(bool $readOnly): ApiPlatform\OpenApi\Model\Schema
public withReadOnly(bool $readOnly): ApiPlatform\OpenApi\Model\Schema
readOnly | bool |
ApiPlatform\OpenApi\Model\Schema
public withWriteOnly(bool $writeOnly): ApiPlatform\OpenApi\Model\Schema
public withWriteOnly(bool $writeOnly): ApiPlatform\OpenApi\Model\Schema
writeOnly | bool |
ApiPlatform\OpenApi\Model\Schema
public withXml(string $xml): ApiPlatform\OpenApi\Model\Schema
public withXml(string $xml): ApiPlatform\OpenApi\Model\Schema
xml | string |
ApiPlatform\OpenApi\Model\Schema
public withExternalDocs($externalDocs): ApiPlatform\OpenApi\Model\Schema
public withExternalDocs($externalDocs): ApiPlatform\OpenApi\Model\Schema
externalDocs |
ApiPlatform\OpenApi\Model\Schema
public withExample($example): ApiPlatform\OpenApi\Model\Schema
public withExample($example): ApiPlatform\OpenApi\Model\Schema
example |
ApiPlatform\OpenApi\Model\Schema
public withDeprecated(bool $deprecated): ApiPlatform\OpenApi\Model\Schema
public withDeprecated(bool $deprecated): ApiPlatform\OpenApi\Model\Schema
deprecated | bool |
ApiPlatform\OpenApi\Model\Schema
public withExtensionProperty(string $key, $value)
public withExtensionProperty(string $key, $value)
key | string | |
value |
public getExtensionProperties(): array
public getExtensionProperties(): array
array