Reference
C
Class

ApiPlatform\OpenApi\Model\PathItem

class ApiPlatform\OpenApi\Model\PathItem
{
    public __construct(null|string $ref, null|string $summary, null|string $description, null|ApiPlatform\OpenApi\Model\Operation $get, null|ApiPlatform\OpenApi\Model\Operation $put, null|ApiPlatform\OpenApi\Model\Operation $post, null|ApiPlatform\OpenApi\Model\Operation $delete, null|ApiPlatform\OpenApi\Model\Operation $options, null|ApiPlatform\OpenApi\Model\Operation $head, null|ApiPlatform\OpenApi\Model\Operation $patch, null|ApiPlatform\OpenApi\Model\Operation $trace, null|array $servers, array $parameters)
    public getRef(): string
    public getSummary(): string
    public getDescription(): string
    public getGet(): ApiPlatform\OpenApi\Model\Operation
    public getPut(): ApiPlatform\OpenApi\Model\Operation
    public getPost(): ApiPlatform\OpenApi\Model\Operation
    public getDelete(): ApiPlatform\OpenApi\Model\Operation
    public getOptions(): ApiPlatform\OpenApi\Model\Operation
    public getHead(): ApiPlatform\OpenApi\Model\Operation
    public getPatch(): ApiPlatform\OpenApi\Model\Operation
    public getTrace(): ApiPlatform\OpenApi\Model\Operation
    public getServers(): array
    public getParameters(): array
    public withRef(string $ref): ApiPlatform\OpenApi\Model\PathItem
    public withSummary(string $summary): ApiPlatform\OpenApi\Model\PathItem
    public withDescription(string $description): ApiPlatform\OpenApi\Model\PathItem
    public withGet(null|ApiPlatform\OpenApi\Model\Operation $get): ApiPlatform\OpenApi\Model\PathItem
    public withPut(null|ApiPlatform\OpenApi\Model\Operation $put): ApiPlatform\OpenApi\Model\PathItem
    public withPost(null|ApiPlatform\OpenApi\Model\Operation $post): ApiPlatform\OpenApi\Model\PathItem
    public withDelete(null|ApiPlatform\OpenApi\Model\Operation $delete): ApiPlatform\OpenApi\Model\PathItem
    public withOptions(ApiPlatform\OpenApi\Model\Operation $options): ApiPlatform\OpenApi\Model\PathItem
    public withHead(ApiPlatform\OpenApi\Model\Operation $head): ApiPlatform\OpenApi\Model\PathItem
    public withPatch(null|ApiPlatform\OpenApi\Model\Operation $patch): ApiPlatform\OpenApi\Model\PathItem
    public withTrace(ApiPlatform\OpenApi\Model\Operation $trace): ApiPlatform\OpenApi\Model\PathItem
    public withServers(null|array $servers): ApiPlatform\OpenApi\Model\PathItem
    public withParameters(array $parameters): ApiPlatform\OpenApi\Model\PathItem
    public withExtensionProperty(string $key, $value)
    public getExtensionProperties(): array
}
class ApiPlatform\OpenApi\Model\PathItem
{
    public __construct(null|string $ref, null|string $summary, null|string $description, null|ApiPlatform\OpenApi\Model\Operation $get, null|ApiPlatform\OpenApi\Model\Operation $put, null|ApiPlatform\OpenApi\Model\Operation $post, null|ApiPlatform\OpenApi\Model\Operation $delete, null|ApiPlatform\OpenApi\Model\Operation $options, null|ApiPlatform\OpenApi\Model\Operation $head, null|ApiPlatform\OpenApi\Model\Operation $patch, null|ApiPlatform\OpenApi\Model\Operation $trace, null|array $servers, array $parameters)
    public getRef(): string
    public getSummary(): string
    public getDescription(): string
    public getGet(): ApiPlatform\OpenApi\Model\Operation
    public getPut(): ApiPlatform\OpenApi\Model\Operation
    public getPost(): ApiPlatform\OpenApi\Model\Operation
    public getDelete(): ApiPlatform\OpenApi\Model\Operation
    public getOptions(): ApiPlatform\OpenApi\Model\Operation
    public getHead(): ApiPlatform\OpenApi\Model\Operation
    public getPatch(): ApiPlatform\OpenApi\Model\Operation
    public getTrace(): ApiPlatform\OpenApi\Model\Operation
    public getServers(): array
    public getParameters(): array
    public withRef(string $ref): ApiPlatform\OpenApi\Model\PathItem
    public withSummary(string $summary): ApiPlatform\OpenApi\Model\PathItem
    public withDescription(string $description): ApiPlatform\OpenApi\Model\PathItem
    public withGet(null|ApiPlatform\OpenApi\Model\Operation $get): ApiPlatform\OpenApi\Model\PathItem
    public withPut(null|ApiPlatform\OpenApi\Model\Operation $put): ApiPlatform\OpenApi\Model\PathItem
    public withPost(null|ApiPlatform\OpenApi\Model\Operation $post): ApiPlatform\OpenApi\Model\PathItem
    public withDelete(null|ApiPlatform\OpenApi\Model\Operation $delete): ApiPlatform\OpenApi\Model\PathItem
    public withOptions(ApiPlatform\OpenApi\Model\Operation $options): ApiPlatform\OpenApi\Model\PathItem
    public withHead(ApiPlatform\OpenApi\Model\Operation $head): ApiPlatform\OpenApi\Model\PathItem
    public withPatch(null|ApiPlatform\OpenApi\Model\Operation $patch): ApiPlatform\OpenApi\Model\PathItem
    public withTrace(ApiPlatform\OpenApi\Model\Operation $trace): ApiPlatform\OpenApi\Model\PathItem
    public withServers(null|array $servers): ApiPlatform\OpenApi\Model\PathItem
    public withParameters(array $parameters): ApiPlatform\OpenApi\Model\PathItem
    public withExtensionProperty(string $key, $value)
    public getExtensionProperties(): array
}

Properties

methods

array $methods
array $methods

Methods

__construct

public __construct(null|string $ref, null|string $summary, null|string $description, null|ApiPlatform\OpenApi\Model\Operation $get, null|ApiPlatform\OpenApi\Model\Operation $put, null|ApiPlatform\OpenApi\Model\Operation $post, null|ApiPlatform\OpenApi\Model\Operation $delete, null|ApiPlatform\OpenApi\Model\Operation $options, null|ApiPlatform\OpenApi\Model\Operation $head, null|ApiPlatform\OpenApi\Model\Operation $patch, null|ApiPlatform\OpenApi\Model\Operation $trace, null|array $servers, array $parameters)
public __construct(null|string $ref, null|string $summary, null|string $description, null|ApiPlatform\OpenApi\Model\Operation $get, null|ApiPlatform\OpenApi\Model\Operation $put, null|ApiPlatform\OpenApi\Model\Operation $post, null|ApiPlatform\OpenApi\Model\Operation $delete, null|ApiPlatform\OpenApi\Model\Operation $options, null|ApiPlatform\OpenApi\Model\Operation $head, null|ApiPlatform\OpenApi\Model\Operation $patch, null|ApiPlatform\OpenApi\Model\Operation $trace, null|array $servers, array $parameters)

Parameters

refstring
summarystring
descriptionstring
getApiPlatform\OpenApi\Model\Operation
putApiPlatform\OpenApi\Model\Operation
postApiPlatform\OpenApi\Model\Operation
deleteApiPlatform\OpenApi\Model\Operation
optionsApiPlatform\OpenApi\Model\Operation
headApiPlatform\OpenApi\Model\Operation
patchApiPlatform\OpenApi\Model\Operation
traceApiPlatform\OpenApi\Model\Operation
serversarray
parametersarray

getRef

public getRef(): string
public getRef(): string

Returns

string

getSummary

public getSummary(): string
public getSummary(): string

Returns

string

getDescription

public getDescription(): string
public getDescription(): string

Returns

string

getGet

Returns

ApiPlatform\OpenApi\Model\Operation

getPut

Returns

ApiPlatform\OpenApi\Model\Operation

getPost

Returns

ApiPlatform\OpenApi\Model\Operation

getDelete

Returns

ApiPlatform\OpenApi\Model\Operation

getOptions

Returns

ApiPlatform\OpenApi\Model\Operation

getHead

Returns

ApiPlatform\OpenApi\Model\Operation

getPatch

Returns

ApiPlatform\OpenApi\Model\Operation

getTrace

Returns

ApiPlatform\OpenApi\Model\Operation

getServers

public getServers(): array
public getServers(): array

Returns

array

getParameters

public getParameters(): array
public getParameters(): array

Returns

array

withRef

public withRef(string $ref): ApiPlatform\OpenApi\Model\PathItem
public withRef(string $ref): ApiPlatform\OpenApi\Model\PathItem

Parameters

refstring

Returns

ApiPlatform\OpenApi\Model\PathItem

withSummary

public withSummary(string $summary): ApiPlatform\OpenApi\Model\PathItem
public withSummary(string $summary): ApiPlatform\OpenApi\Model\PathItem

Parameters

summarystring

Returns

ApiPlatform\OpenApi\Model\PathItem

withDescription

public withDescription(string $description): ApiPlatform\OpenApi\Model\PathItem
public withDescription(string $description): ApiPlatform\OpenApi\Model\PathItem

Parameters

descriptionstring

Returns

ApiPlatform\OpenApi\Model\PathItem

withGet

Parameters

getApiPlatform\OpenApi\Model\Operation

Returns

ApiPlatform\OpenApi\Model\PathItem

withPut

Parameters

putApiPlatform\OpenApi\Model\Operation

Returns

ApiPlatform\OpenApi\Model\PathItem

withPost

Parameters

postApiPlatform\OpenApi\Model\Operation

Returns

ApiPlatform\OpenApi\Model\PathItem

withDelete

Parameters

deleteApiPlatform\OpenApi\Model\Operation

Returns

ApiPlatform\OpenApi\Model\PathItem

withOptions

Parameters

optionsApiPlatform\OpenApi\Model\Operation

Returns

ApiPlatform\OpenApi\Model\PathItem

withHead

Parameters

headApiPlatform\OpenApi\Model\Operation

Returns

ApiPlatform\OpenApi\Model\PathItem

withPatch

Parameters

patchApiPlatform\OpenApi\Model\Operation

Returns

ApiPlatform\OpenApi\Model\PathItem

withTrace

Parameters

traceApiPlatform\OpenApi\Model\Operation

Returns

ApiPlatform\OpenApi\Model\PathItem

withServers

public withServers(null|array $servers): ApiPlatform\OpenApi\Model\PathItem
public withServers(null|array $servers): ApiPlatform\OpenApi\Model\PathItem

Parameters

serversarray

Returns

ApiPlatform\OpenApi\Model\PathItem

withParameters

public withParameters(array $parameters): ApiPlatform\OpenApi\Model\PathItem
public withParameters(array $parameters): ApiPlatform\OpenApi\Model\PathItem

Parameters

parametersarray

Returns

ApiPlatform\OpenApi\Model\PathItem

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