class ApiPlatform\OpenApi\Model\Info
{
public __construct(string $title, string $version, string $description, null|string $termsOfService, null|$contact, null|`<a href="/docs/main/references/OpenApi/Model/License">ApiPlatform\OpenApi\Model\License $license, null|string $summary)
public getTitle(): string
public getDescription(): string
public getTermsOfService(): string
public getContact(): ApiPlatform\OpenApi\Model\Contact
public getLicense(): ApiPlatform\OpenApi\Model\License
public getVersion(): string
public getSummary(): string
public withTitle(string $title): ApiPlatform\OpenApi\Model\Info
public withDescription(string $description): ApiPlatform\OpenApi\Model\Info
public withTermsOfService(string $termsOfService): ApiPlatform\OpenApi\Model\Info
public withContact($contact): `<a href="/docs/main/references/OpenApi/Model/Info">ApiPlatform\OpenApi\Model\Info
public withLicense($license): `<a href="/docs/main/references/OpenApi/Model/Info">ApiPlatform\OpenApi\Model\Info
public withVersion(string $version): ApiPlatform\OpenApi\Model\Info
public withSummary(string $summary): ApiPlatform\OpenApi\Model\Info
public withExtensionProperty(string $key, $value)
public getExtensionProperties(): array
}
public __construct(string $title, string $version, string $description, null|string $termsOfService, null|$contact, null|`<a href="/docs/main/references/OpenApi/Model/License">ApiPlatform\OpenApi\Model\License $license, null|string $summary)
title | string | |
version | string | |
description | string | |
termsOfService | string | |
contact | `ApiPlatform\OpenApi\Model\Contact` | |
license | `ApiPlatform\OpenApi\Model\License` | |
summary | string |
public getTitle(): string
string
public getDescription(): string
string
public getTermsOfService(): string
string
public getContact(): ApiPlatform\OpenApi\Model\Contact
<a href="/docs/main/references/OpenApi/Model/Contact">ApiPlatform\OpenApi\Model\Contact</a>
public getLicense(): ApiPlatform\OpenApi\Model\License
<a href="/docs/main/references/OpenApi/Model/License">ApiPlatform\OpenApi\Model\License</a>
public getVersion(): string
string
public getSummary(): string
string
public withTitle(string $title): ApiPlatform\OpenApi\Model\Info
title | string |
<a href="/docs/main/references/OpenApi/Model/Info">ApiPlatform\OpenApi\Model\Info</a>
public withDescription(string $description): ApiPlatform\OpenApi\Model\Info
description | string |
<a href="/docs/main/references/OpenApi/Model/Info">ApiPlatform\OpenApi\Model\Info</a>
public withTermsOfService(string $termsOfService): ApiPlatform\OpenApi\Model\Info
termsOfService | string |
<a href="/docs/main/references/OpenApi/Model/Info">ApiPlatform\OpenApi\Model\Info</a>
public withContact($contact): `<a href="/docs/main/references/OpenApi/Model/Info">ApiPlatform\OpenApi\Model\Info
contact | `ApiPlatform\OpenApi\Model\Contact` |
<a href="/docs/main/references/OpenApi/Model/Info">ApiPlatform\OpenApi\Model\Info</a>
public withLicense($license): `<a href="/docs/main/references/OpenApi/Model/Info">ApiPlatform\OpenApi\Model\Info
license | `ApiPlatform\OpenApi\Model\License` |
<a href="/docs/main/references/OpenApi/Model/Info">ApiPlatform\OpenApi\Model\Info</a>
public withVersion(string $version): ApiPlatform\OpenApi\Model\Info
version | string |
<a href="/docs/main/references/OpenApi/Model/Info">ApiPlatform\OpenApi\Model\Info</a>
public withSummary(string $summary): ApiPlatform\OpenApi\Model\Info
summary | string |
<a href="/docs/main/references/OpenApi/Model/Info">ApiPlatform\OpenApi\Model\Info</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