Reference
C
Class

ApiPlatform\OpenApi\Model\Server

class ApiPlatform\OpenApi\Model\Server
{
    public __construct(string $url, string $description, null|ArrayObject $variables)
    public getUrl(): string
    public getDescription(): string
    public getVariables(): ArrayObject
    public withUrl(string $url): ApiPlatform\OpenApi\Model\Server
    public withDescription(string $description): ApiPlatform\OpenApi\Model\Server
    public withVariables(ArrayObject $variables): ApiPlatform\OpenApi\Model\Server
    public withExtensionProperty(string $key, $value)
    public getExtensionProperties(): array
}
class ApiPlatform\OpenApi\Model\Server
{
    public __construct(string $url, string $description, null|ArrayObject $variables)
    public getUrl(): string
    public getDescription(): string
    public getVariables(): ArrayObject
    public withUrl(string $url): ApiPlatform\OpenApi\Model\Server
    public withDescription(string $description): ApiPlatform\OpenApi\Model\Server
    public withVariables(ArrayObject $variables): ApiPlatform\OpenApi\Model\Server
    public withExtensionProperty(string $key, $value)
    public getExtensionProperties(): array
}

Methods

__construct

public __construct(string $url, string $description, null|ArrayObject $variables)
public __construct(string $url, string $description, null|ArrayObject $variables)

Parameters

urlstring
descriptionstring
variablesArrayObject

getUrl

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

Returns

string

getDescription

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

Returns

string

getVariables

public getVariables(): ArrayObject
public getVariables(): ArrayObject

Returns

ArrayObject

withUrl

public withUrl(string $url): ApiPlatform\OpenApi\Model\Server
public withUrl(string $url): ApiPlatform\OpenApi\Model\Server

Parameters

urlstring

Returns

ApiPlatform\OpenApi\Model\Server

withDescription

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

Parameters

descriptionstring

Returns

ApiPlatform\OpenApi\Model\Server

withVariables

public withVariables(ArrayObject $variables): ApiPlatform\OpenApi\Model\Server
public withVariables(ArrayObject $variables): ApiPlatform\OpenApi\Model\Server

Parameters

variablesArrayObject

Returns

ApiPlatform\OpenApi\Model\Server

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