Reference
C
Class

ApiPlatform\OpenApi\Model\License

class ApiPlatform\OpenApi\Model\License
{
    public __construct(string $name, null|string $url, null|string $identifier)
    public getName(): string
    public getUrl(): string
    public getIdentifier(): string
    public withName(string $name): ApiPlatform\OpenApi\Model\License
    public withUrl(null|string $url): ApiPlatform\OpenApi\Model\License
    public withIdentifier(null|string $identifier): ApiPlatform\OpenApi\Model\License
    public withExtensionProperty(string $key, $value)
    public getExtensionProperties(): array
}
class ApiPlatform\OpenApi\Model\License
{
    public __construct(string $name, null|string $url, null|string $identifier)
    public getName(): string
    public getUrl(): string
    public getIdentifier(): string
    public withName(string $name): ApiPlatform\OpenApi\Model\License
    public withUrl(null|string $url): ApiPlatform\OpenApi\Model\License
    public withIdentifier(null|string $identifier): ApiPlatform\OpenApi\Model\License
    public withExtensionProperty(string $key, $value)
    public getExtensionProperties(): array
}

Methods

__construct

public __construct(string $name, null|string $url, null|string $identifier)
public __construct(string $name, null|string $url, null|string $identifier)

Parameters

namestring
urlstring
identifierstring

getName

public getName(): string
public getName(): string

Returns

string

getUrl

public getUrl(): string
public getUrl(): string

Returns

string

getIdentifier

public getIdentifier(): string
public getIdentifier(): string

Returns

string

withName

public withName(string $name): ApiPlatform\OpenApi\Model\License
public withName(string $name): ApiPlatform\OpenApi\Model\License

Parameters

namestring

Returns

ApiPlatform\OpenApi\Model\License

withUrl

public withUrl(null|string $url): ApiPlatform\OpenApi\Model\License
public withUrl(null|string $url): ApiPlatform\OpenApi\Model\License

Parameters

urlstring

Returns

ApiPlatform\OpenApi\Model\License

withIdentifier

public withIdentifier(null|string $identifier): ApiPlatform\OpenApi\Model\License
public withIdentifier(null|string $identifier): ApiPlatform\OpenApi\Model\License

Parameters

identifierstring

Returns

ApiPlatform\OpenApi\Model\License

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