class ApiPlatform\OpenApi\Model\PathItem
{
public __construct(null|string $ref, null|string $summary, null|string $description, null|$get, null|`<a href="/docs/main/references/OpenApi/Model/Operation">ApiPlatform\OpenApi\Model\Operation</a>` $put, null|`<a href="/docs/main/references/OpenApi/Model/Operation">ApiPlatform\OpenApi\Model\Operation</a>` $post, null|`<a href="/docs/main/references/OpenApi/Model/Operation">ApiPlatform\OpenApi\Model\Operation</a>` $delete, null|`<a href="/docs/main/references/OpenApi/Model/Operation">ApiPlatform\OpenApi\Model\Operation</a>` $options, null|`<a href="/docs/main/references/OpenApi/Model/Operation">ApiPlatform\OpenApi\Model\Operation</a>` $head, null|`<a href="/docs/main/references/OpenApi/Model/Operation">ApiPlatform\OpenApi\Model\Operation</a>` $patch, null|`<a href="/docs/main/references/OpenApi/Model/Operation">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|$get): `<a href="/docs/main/references/OpenApi/Model/PathItem">ApiPlatform\OpenApi\Model\PathItem
public withPut(null|$put): `<a href="/docs/main/references/OpenApi/Model/PathItem">ApiPlatform\OpenApi\Model\PathItem
public withPost(null|$post): `<a href="/docs/main/references/OpenApi/Model/PathItem">ApiPlatform\OpenApi\Model\PathItem
public withDelete(null|$delete): `<a href="/docs/main/references/OpenApi/Model/PathItem">ApiPlatform\OpenApi\Model\PathItem
public withOptions($options): `<a href="/docs/main/references/OpenApi/Model/PathItem">ApiPlatform\OpenApi\Model\PathItem
public withHead($head): `<a href="/docs/main/references/OpenApi/Model/PathItem">ApiPlatform\OpenApi\Model\PathItem
public withPatch(null|$patch): `<a href="/docs/main/references/OpenApi/Model/PathItem">ApiPlatform\OpenApi\Model\PathItem
public withTrace($trace): `<a href="/docs/main/references/OpenApi/Model/PathItem">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
}
array $methods
public __construct(null|string $ref, null|string $summary, null|string $description, null|$get, null|`<a href="/docs/main/references/OpenApi/Model/Operation">ApiPlatform\OpenApi\Model\Operation</a>` $put, null|`<a href="/docs/main/references/OpenApi/Model/Operation">ApiPlatform\OpenApi\Model\Operation</a>` $post, null|`<a href="/docs/main/references/OpenApi/Model/Operation">ApiPlatform\OpenApi\Model\Operation</a>` $delete, null|`<a href="/docs/main/references/OpenApi/Model/Operation">ApiPlatform\OpenApi\Model\Operation</a>` $options, null|`<a href="/docs/main/references/OpenApi/Model/Operation">ApiPlatform\OpenApi\Model\Operation</a>` $head, null|`<a href="/docs/main/references/OpenApi/Model/Operation">ApiPlatform\OpenApi\Model\Operation</a>` $patch, null|`<a href="/docs/main/references/OpenApi/Model/Operation">ApiPlatform\OpenApi\Model\Operation $trace, null|array $servers, array $parameters)
ref | string | |
summary | string | |
description | string | |
get | `ApiPlatform\OpenApi\Model\Operation` | |
put | `ApiPlatform\OpenApi\Model\Operation` | |
post | `ApiPlatform\OpenApi\Model\Operation` | |
delete | `ApiPlatform\OpenApi\Model\Operation` | |
options | `ApiPlatform\OpenApi\Model\Operation` | |
head | `ApiPlatform\OpenApi\Model\Operation` | |
patch | `ApiPlatform\OpenApi\Model\Operation` | |
trace | `ApiPlatform\OpenApi\Model\Operation` | |
servers | array | |
parameters | array |
public getRef(): string
string
public getSummary(): string
string
public getDescription(): string
string
public getGet(): ApiPlatform\OpenApi\Model\Operation
<a href="/docs/main/references/OpenApi/Model/Operation">ApiPlatform\OpenApi\Model\Operation</a>
public getPut(): ApiPlatform\OpenApi\Model\Operation
<a href="/docs/main/references/OpenApi/Model/Operation">ApiPlatform\OpenApi\Model\Operation</a>
public getPost(): ApiPlatform\OpenApi\Model\Operation
<a href="/docs/main/references/OpenApi/Model/Operation">ApiPlatform\OpenApi\Model\Operation</a>
public getDelete(): ApiPlatform\OpenApi\Model\Operation
<a href="/docs/main/references/OpenApi/Model/Operation">ApiPlatform\OpenApi\Model\Operation</a>
public getOptions(): ApiPlatform\OpenApi\Model\Operation
<a href="/docs/main/references/OpenApi/Model/Operation">ApiPlatform\OpenApi\Model\Operation</a>
public getHead(): ApiPlatform\OpenApi\Model\Operation
<a href="/docs/main/references/OpenApi/Model/Operation">ApiPlatform\OpenApi\Model\Operation</a>
public getPatch(): ApiPlatform\OpenApi\Model\Operation
<a href="/docs/main/references/OpenApi/Model/Operation">ApiPlatform\OpenApi\Model\Operation</a>
public getTrace(): ApiPlatform\OpenApi\Model\Operation
<a href="/docs/main/references/OpenApi/Model/Operation">ApiPlatform\OpenApi\Model\Operation</a>
public getServers(): array
array
public getParameters(): array
array
public withRef(string $ref): ApiPlatform\OpenApi\Model\PathItem
ref | string |
<a href="/docs/main/references/OpenApi/Model/PathItem">ApiPlatform\OpenApi\Model\PathItem</a>
public withSummary(string $summary): ApiPlatform\OpenApi\Model\PathItem
summary | string |
<a href="/docs/main/references/OpenApi/Model/PathItem">ApiPlatform\OpenApi\Model\PathItem</a>
public withDescription(string $description): ApiPlatform\OpenApi\Model\PathItem
description | string |
<a href="/docs/main/references/OpenApi/Model/PathItem">ApiPlatform\OpenApi\Model\PathItem</a>
public withGet(null|$get): `<a href="/docs/main/references/OpenApi/Model/PathItem">ApiPlatform\OpenApi\Model\PathItem
get | `ApiPlatform\OpenApi\Model\Operation` |
<a href="/docs/main/references/OpenApi/Model/PathItem">ApiPlatform\OpenApi\Model\PathItem</a>
public withPut(null|$put): `<a href="/docs/main/references/OpenApi/Model/PathItem">ApiPlatform\OpenApi\Model\PathItem
put | `ApiPlatform\OpenApi\Model\Operation` |
<a href="/docs/main/references/OpenApi/Model/PathItem">ApiPlatform\OpenApi\Model\PathItem</a>
public withPost(null|$post): `<a href="/docs/main/references/OpenApi/Model/PathItem">ApiPlatform\OpenApi\Model\PathItem
post | `ApiPlatform\OpenApi\Model\Operation` |
<a href="/docs/main/references/OpenApi/Model/PathItem">ApiPlatform\OpenApi\Model\PathItem</a>
public withDelete(null|$delete): `<a href="/docs/main/references/OpenApi/Model/PathItem">ApiPlatform\OpenApi\Model\PathItem
delete | `ApiPlatform\OpenApi\Model\Operation` |
<a href="/docs/main/references/OpenApi/Model/PathItem">ApiPlatform\OpenApi\Model\PathItem</a>
public withOptions($options): `<a href="/docs/main/references/OpenApi/Model/PathItem">ApiPlatform\OpenApi\Model\PathItem
options | `ApiPlatform\OpenApi\Model\Operation` |
<a href="/docs/main/references/OpenApi/Model/PathItem">ApiPlatform\OpenApi\Model\PathItem</a>
public withHead($head): `<a href="/docs/main/references/OpenApi/Model/PathItem">ApiPlatform\OpenApi\Model\PathItem
head | `ApiPlatform\OpenApi\Model\Operation` |
<a href="/docs/main/references/OpenApi/Model/PathItem">ApiPlatform\OpenApi\Model\PathItem</a>
public withPatch(null|$patch): `<a href="/docs/main/references/OpenApi/Model/PathItem">ApiPlatform\OpenApi\Model\PathItem
patch | `ApiPlatform\OpenApi\Model\Operation` |
<a href="/docs/main/references/OpenApi/Model/PathItem">ApiPlatform\OpenApi\Model\PathItem</a>
public withTrace($trace): `<a href="/docs/main/references/OpenApi/Model/PathItem">ApiPlatform\OpenApi\Model\PathItem
trace | `ApiPlatform\OpenApi\Model\Operation` |
<a href="/docs/main/references/OpenApi/Model/PathItem">ApiPlatform\OpenApi\Model\PathItem</a>
public withServers(null|array $servers): ApiPlatform\OpenApi\Model\PathItem
servers | array |
<a href="/docs/main/references/OpenApi/Model/PathItem">ApiPlatform\OpenApi\Model\PathItem</a>
public withParameters(array $parameters): ApiPlatform\OpenApi\Model\PathItem
parameters | array |
<a href="/docs/main/references/OpenApi/Model/PathItem">ApiPlatform\OpenApi\Model\PathItem</a>
public withExtensionProperty(string $key, $value)
key | string | |
value |
public getExtensionProperties(): array
array
Made with love by
Les-Tilleuls.coop can help you design and develop your APIs and web projects, and train your teams in API Platform, Symfony, Next.js, Kubernetes and a wide range of other technologies.
Learn more