Reference
C
Class

ApiPlatform\OpenApi\Model\Components

class ApiPlatform\OpenApi\Model\Components
{
    public __construct(null|ArrayObject $schemas, null|ArrayObject $responses, null|ArrayObject $parameters, null|ArrayObject $examples, null|ArrayObject $requestBodies, null|ArrayObject $headers, null|ArrayObject $securitySchemes, null|ArrayObject $links, null|ArrayObject $callbacks, null|ArrayObject $pathItems)
    public getSchemas(): ArrayObject
    public getResponses(): ArrayObject
    public getParameters(): ArrayObject
    public getExamples(): ArrayObject
    public getRequestBodies(): ArrayObject
    public getHeaders(): ArrayObject
    public getSecuritySchemes(): ArrayObject
    public getLinks(): ArrayObject
    public getCallbacks(): ArrayObject
    public getPathItems(): ArrayObject
    public withSchemas(ArrayObject $schemas): ApiPlatform\OpenApi\Model\Components
    public withResponses(ArrayObject $responses): ApiPlatform\OpenApi\Model\Components
    public withParameters(ArrayObject $parameters): ApiPlatform\OpenApi\Model\Components
    public withExamples(ArrayObject $examples): ApiPlatform\OpenApi\Model\Components
    public withRequestBodies(ArrayObject $requestBodies): ApiPlatform\OpenApi\Model\Components
    public withHeaders(ArrayObject $headers): ApiPlatform\OpenApi\Model\Components
    public withSecuritySchemes(ArrayObject $securitySchemes): ApiPlatform\OpenApi\Model\Components
    public withLinks(ArrayObject $links): ApiPlatform\OpenApi\Model\Components
    public withCallbacks(ArrayObject $callbacks): ApiPlatform\OpenApi\Model\Components
    public withPathItems(ArrayObject $pathItems): ApiPlatform\OpenApi\Model\Components
    public withExtensionProperty(string $key, $value)
    public getExtensionProperties(): array
}
class ApiPlatform\OpenApi\Model\Components
{
    public __construct(null|ArrayObject $schemas, null|ArrayObject $responses, null|ArrayObject $parameters, null|ArrayObject $examples, null|ArrayObject $requestBodies, null|ArrayObject $headers, null|ArrayObject $securitySchemes, null|ArrayObject $links, null|ArrayObject $callbacks, null|ArrayObject $pathItems)
    public getSchemas(): ArrayObject
    public getResponses(): ArrayObject
    public getParameters(): ArrayObject
    public getExamples(): ArrayObject
    public getRequestBodies(): ArrayObject
    public getHeaders(): ArrayObject
    public getSecuritySchemes(): ArrayObject
    public getLinks(): ArrayObject
    public getCallbacks(): ArrayObject
    public getPathItems(): ArrayObject
    public withSchemas(ArrayObject $schemas): ApiPlatform\OpenApi\Model\Components
    public withResponses(ArrayObject $responses): ApiPlatform\OpenApi\Model\Components
    public withParameters(ArrayObject $parameters): ApiPlatform\OpenApi\Model\Components
    public withExamples(ArrayObject $examples): ApiPlatform\OpenApi\Model\Components
    public withRequestBodies(ArrayObject $requestBodies): ApiPlatform\OpenApi\Model\Components
    public withHeaders(ArrayObject $headers): ApiPlatform\OpenApi\Model\Components
    public withSecuritySchemes(ArrayObject $securitySchemes): ApiPlatform\OpenApi\Model\Components
    public withLinks(ArrayObject $links): ApiPlatform\OpenApi\Model\Components
    public withCallbacks(ArrayObject $callbacks): ApiPlatform\OpenApi\Model\Components
    public withPathItems(ArrayObject $pathItems): ApiPlatform\OpenApi\Model\Components
    public withExtensionProperty(string $key, $value)
    public getExtensionProperties(): array
}

Methods

__construct

public __construct(null|ArrayObject $schemas, null|ArrayObject $responses, null|ArrayObject $parameters, null|ArrayObject $examples, null|ArrayObject $requestBodies, null|ArrayObject $headers, null|ArrayObject $securitySchemes, null|ArrayObject $links, null|ArrayObject $callbacks, null|ArrayObject $pathItems)
public __construct(null|ArrayObject $schemas, null|ArrayObject $responses, null|ArrayObject $parameters, null|ArrayObject $examples, null|ArrayObject $requestBodies, null|ArrayObject $headers, null|ArrayObject $securitySchemes, null|ArrayObject $links, null|ArrayObject $callbacks, null|ArrayObject $pathItems)

Parameters

schemasArrayObject
responsesArrayObject
parametersArrayObject
examplesArrayObject
requestBodiesArrayObject
headersArrayObject
securitySchemesArrayObject
linksArrayObject
callbacksArrayObject
pathItemsArrayObject

getSchemas

public getSchemas(): ArrayObject
public getSchemas(): ArrayObject

Returns

ArrayObject

getResponses

public getResponses(): ArrayObject
public getResponses(): ArrayObject

Returns

ArrayObject

getParameters

public getParameters(): ArrayObject
public getParameters(): ArrayObject

Returns

ArrayObject

getExamples

public getExamples(): ArrayObject
public getExamples(): ArrayObject

Returns

ArrayObject

getRequestBodies

public getRequestBodies(): ArrayObject
public getRequestBodies(): ArrayObject

Returns

ArrayObject

getHeaders

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

Returns

ArrayObject

getSecuritySchemes

public getSecuritySchemes(): ArrayObject
public getSecuritySchemes(): ArrayObject

Returns

ArrayObject

getLinks

public getLinks(): ArrayObject
public getLinks(): ArrayObject

Returns

ArrayObject

getCallbacks

public getCallbacks(): ArrayObject
public getCallbacks(): ArrayObject

Returns

ArrayObject

getPathItems

public getPathItems(): ArrayObject
public getPathItems(): ArrayObject

Returns

ArrayObject

withSchemas

public withSchemas(ArrayObject $schemas): ApiPlatform\OpenApi\Model\Components
public withSchemas(ArrayObject $schemas): ApiPlatform\OpenApi\Model\Components

Parameters

schemasArrayObject

Returns

ApiPlatform\OpenApi\Model\Components

withResponses

public withResponses(ArrayObject $responses): ApiPlatform\OpenApi\Model\Components
public withResponses(ArrayObject $responses): ApiPlatform\OpenApi\Model\Components

Parameters

responsesArrayObject

Returns

ApiPlatform\OpenApi\Model\Components

withParameters

public withParameters(ArrayObject $parameters): ApiPlatform\OpenApi\Model\Components
public withParameters(ArrayObject $parameters): ApiPlatform\OpenApi\Model\Components

Parameters

parametersArrayObject

Returns

ApiPlatform\OpenApi\Model\Components

withExamples

public withExamples(ArrayObject $examples): ApiPlatform\OpenApi\Model\Components
public withExamples(ArrayObject $examples): ApiPlatform\OpenApi\Model\Components

Parameters

examplesArrayObject

Returns

ApiPlatform\OpenApi\Model\Components

withRequestBodies

public withRequestBodies(ArrayObject $requestBodies): ApiPlatform\OpenApi\Model\Components
public withRequestBodies(ArrayObject $requestBodies): ApiPlatform\OpenApi\Model\Components

Parameters

requestBodiesArrayObject

Returns

ApiPlatform\OpenApi\Model\Components

withHeaders

public withHeaders(ArrayObject $headers): ApiPlatform\OpenApi\Model\Components
public withHeaders(ArrayObject $headers): ApiPlatform\OpenApi\Model\Components

Parameters

headersArrayObject

Returns

ApiPlatform\OpenApi\Model\Components

withSecuritySchemes

public withSecuritySchemes(ArrayObject $securitySchemes): ApiPlatform\OpenApi\Model\Components
public withSecuritySchemes(ArrayObject $securitySchemes): ApiPlatform\OpenApi\Model\Components

Parameters

securitySchemesArrayObject

Returns

ApiPlatform\OpenApi\Model\Components

withLinks

public withLinks(ArrayObject $links): ApiPlatform\OpenApi\Model\Components
public withLinks(ArrayObject $links): ApiPlatform\OpenApi\Model\Components

Parameters

linksArrayObject

Returns

ApiPlatform\OpenApi\Model\Components

withCallbacks

public withCallbacks(ArrayObject $callbacks): ApiPlatform\OpenApi\Model\Components
public withCallbacks(ArrayObject $callbacks): ApiPlatform\OpenApi\Model\Components

Parameters

callbacksArrayObject

Returns

ApiPlatform\OpenApi\Model\Components

withPathItems

public withPathItems(ArrayObject $pathItems): ApiPlatform\OpenApi\Model\Components
public withPathItems(ArrayObject $pathItems): ApiPlatform\OpenApi\Model\Components

Parameters

pathItemsArrayObject

Returns

ApiPlatform\OpenApi\Model\Components

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