Reference
C
Class

ApiPlatform\OpenApi\Model\Link

class ApiPlatform\OpenApi\Model\Link
{
    public __construct(string $operationId, null|ArrayObject $parameters, $requestBody, string $description, null|ApiPlatform\OpenApi\Model\Server $server)
    public getOperationId(): string
    public getParameters(): ArrayObject
    public getRequestBody()
    public getDescription(): string
    public getServer(): ApiPlatform\OpenApi\Model\Server
    public withOperationId(string $operationId): ApiPlatform\OpenApi\Model\Link
    public withParameters(ArrayObject $parameters): ApiPlatform\OpenApi\Model\Link
    public withRequestBody($requestBody): ApiPlatform\OpenApi\Model\Link
    public withDescription(string $description): ApiPlatform\OpenApi\Model\Link
    public withServer(ApiPlatform\OpenApi\Model\Server $server): ApiPlatform\OpenApi\Model\Link
    public withExtensionProperty(string $key, $value)
    public getExtensionProperties(): array
}
class ApiPlatform\OpenApi\Model\Link
{
    public __construct(string $operationId, null|ArrayObject $parameters, $requestBody, string $description, null|ApiPlatform\OpenApi\Model\Server $server)
    public getOperationId(): string
    public getParameters(): ArrayObject
    public getRequestBody()
    public getDescription(): string
    public getServer(): ApiPlatform\OpenApi\Model\Server
    public withOperationId(string $operationId): ApiPlatform\OpenApi\Model\Link
    public withParameters(ArrayObject $parameters): ApiPlatform\OpenApi\Model\Link
    public withRequestBody($requestBody): ApiPlatform\OpenApi\Model\Link
    public withDescription(string $description): ApiPlatform\OpenApi\Model\Link
    public withServer(ApiPlatform\OpenApi\Model\Server $server): ApiPlatform\OpenApi\Model\Link
    public withExtensionProperty(string $key, $value)
    public getExtensionProperties(): array
}

Methods

__construct

public __construct(string $operationId, null|ArrayObject $parameters, $requestBody, string $description, null|ApiPlatform\OpenApi\Model\Server $server)
public __construct(string $operationId, null|ArrayObject $parameters, $requestBody, string $description, null|ApiPlatform\OpenApi\Model\Server $server)

Parameters

operationIdstring
parametersArrayObject
requestBody
descriptionstring
serverApiPlatform\OpenApi\Model\Server

getOperationId

public getOperationId(): string
public getOperationId(): string

Returns

string

getParameters

public getParameters(): ArrayObject
public getParameters(): ArrayObject

Returns

ArrayObject

getRequestBody

public getRequestBody()
public getRequestBody()

getDescription

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

Returns

string

getServer

Returns

ApiPlatform\OpenApi\Model\Server

withOperationId

public withOperationId(string $operationId): ApiPlatform\OpenApi\Model\Link
public withOperationId(string $operationId): ApiPlatform\OpenApi\Model\Link

Parameters

operationIdstring

Returns

ApiPlatform\OpenApi\Model\Link

withParameters

public withParameters(ArrayObject $parameters): ApiPlatform\OpenApi\Model\Link
public withParameters(ArrayObject $parameters): ApiPlatform\OpenApi\Model\Link

Parameters

parametersArrayObject

Returns

ApiPlatform\OpenApi\Model\Link

withRequestBody

public withRequestBody($requestBody): ApiPlatform\OpenApi\Model\Link
public withRequestBody($requestBody): ApiPlatform\OpenApi\Model\Link

Parameters

requestBody

Returns

ApiPlatform\OpenApi\Model\Link

withDescription

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

Parameters

descriptionstring

Returns

ApiPlatform\OpenApi\Model\Link

withServer

Parameters

serverApiPlatform\OpenApi\Model\Server

Returns

ApiPlatform\OpenApi\Model\Link

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