Reference
C
Class

ApiPlatform\OpenApi\Model\Contact

class ApiPlatform\OpenApi\Model\Contact
{
    public __construct(null|string $name, null|string $url, null|string $email)
    public getName(): string
    public getUrl(): string
    public getEmail(): string
    public withName(null|string $name): ApiPlatform\OpenApi\Model\Contact
    public withUrl(null|string $url): ApiPlatform\OpenApi\Model\Contact
    public withEmail(null|string $email): ApiPlatform\OpenApi\Model\Contact
    public withExtensionProperty(string $key, $value)
    public getExtensionProperties(): array
}
class ApiPlatform\OpenApi\Model\Contact
{
    public __construct(null|string $name, null|string $url, null|string $email)
    public getName(): string
    public getUrl(): string
    public getEmail(): string
    public withName(null|string $name): ApiPlatform\OpenApi\Model\Contact
    public withUrl(null|string $url): ApiPlatform\OpenApi\Model\Contact
    public withEmail(null|string $email): ApiPlatform\OpenApi\Model\Contact
    public withExtensionProperty(string $key, $value)
    public getExtensionProperties(): array
}

Methods

__construct

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

Parameters

namestring
urlstring
emailstring

getName

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

Returns

string

getUrl

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

Returns

string

getEmail

public getEmail(): string
public getEmail(): string

Returns

string

withName

public withName(null|string $name): ApiPlatform\OpenApi\Model\Contact
public withName(null|string $name): ApiPlatform\OpenApi\Model\Contact

Parameters

namestring

Returns

ApiPlatform\OpenApi\Model\Contact

withUrl

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

Parameters

urlstring

Returns

ApiPlatform\OpenApi\Model\Contact

withEmail

public withEmail(null|string $email): ApiPlatform\OpenApi\Model\Contact
public withEmail(null|string $email): ApiPlatform\OpenApi\Model\Contact

Parameters

emailstring

Returns

ApiPlatform\OpenApi\Model\Contact

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