Reference
C
Class

ApiPlatform\OpenApi\Model\Info

class ApiPlatform\OpenApi\Model\Info
{
    public __construct(string $title, string $version, string $description, null|string $termsOfService, null|ApiPlatform\OpenApi\Model\Contact $contact, null|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(ApiPlatform\OpenApi\Model\Contact $contact): ApiPlatform\OpenApi\Model\Info
    public withLicense(ApiPlatform\OpenApi\Model\License $license): 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
}
class ApiPlatform\OpenApi\Model\Info
{
    public __construct(string $title, string $version, string $description, null|string $termsOfService, null|ApiPlatform\OpenApi\Model\Contact $contact, null|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(ApiPlatform\OpenApi\Model\Contact $contact): ApiPlatform\OpenApi\Model\Info
    public withLicense(ApiPlatform\OpenApi\Model\License $license): 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
}

Methods

__construct

public __construct(string $title, string $version, string $description, null|string $termsOfService, null|ApiPlatform\OpenApi\Model\Contact $contact, null|ApiPlatform\OpenApi\Model\License $license, null|string $summary)
public __construct(string $title, string $version, string $description, null|string $termsOfService, null|ApiPlatform\OpenApi\Model\Contact $contact, null|ApiPlatform\OpenApi\Model\License $license, null|string $summary)

Parameters

titlestring
versionstring
descriptionstring
termsOfServicestring
contactApiPlatform\OpenApi\Model\Contact
licenseApiPlatform\OpenApi\Model\License
summarystring

getTitle

public getTitle(): string
public getTitle(): string

Returns

string

getDescription

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

Returns

string

getTermsOfService

public getTermsOfService(): string
public getTermsOfService(): string

Returns

string

getContact

Returns

ApiPlatform\OpenApi\Model\Contact

getLicense

Returns

ApiPlatform\OpenApi\Model\License

getVersion

public getVersion(): string
public getVersion(): string

Returns

string

getSummary

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

Returns

string

withTitle

public withTitle(string $title): ApiPlatform\OpenApi\Model\Info
public withTitle(string $title): ApiPlatform\OpenApi\Model\Info

Parameters

titlestring

Returns

ApiPlatform\OpenApi\Model\Info

withDescription

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

Parameters

descriptionstring

Returns

ApiPlatform\OpenApi\Model\Info

withTermsOfService

public withTermsOfService(string $termsOfService): ApiPlatform\OpenApi\Model\Info
public withTermsOfService(string $termsOfService): ApiPlatform\OpenApi\Model\Info

Parameters

termsOfServicestring

Returns

ApiPlatform\OpenApi\Model\Info

withContact

Parameters

contactApiPlatform\OpenApi\Model\Contact

Returns

ApiPlatform\OpenApi\Model\Info

withLicense

Parameters

licenseApiPlatform\OpenApi\Model\License

Returns

ApiPlatform\OpenApi\Model\Info

withVersion

public withVersion(string $version): ApiPlatform\OpenApi\Model\Info
public withVersion(string $version): ApiPlatform\OpenApi\Model\Info

Parameters

versionstring

Returns

ApiPlatform\OpenApi\Model\Info

withSummary

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

Parameters

summarystring

Returns

ApiPlatform\OpenApi\Model\Info

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