Reference
C
Class

ApiPlatform\OpenApi\Model\Paths

class ApiPlatform\OpenApi\Model\Paths
{
    public addPath(string $path, ApiPlatform\OpenApi\Model\PathItem $pathItem): null
    public getPath(string $path): ApiPlatform\OpenApi\Model\PathItem
    public getPaths(): array
}
class ApiPlatform\OpenApi\Model\Paths
{
    public addPath(string $path, ApiPlatform\OpenApi\Model\PathItem $pathItem): null
    public getPath(string $path): ApiPlatform\OpenApi\Model\PathItem
    public getPaths(): array
}

Methods

addPath

public addPath(string $path, ApiPlatform\OpenApi\Model\PathItem $pathItem): null
public addPath(string $path, ApiPlatform\OpenApi\Model\PathItem $pathItem): null

Parameters

pathstring
pathItemApiPlatform\OpenApi\Model\PathItem

Returns

null

getPath

public getPath(string $path): ApiPlatform\OpenApi\Model\PathItem
public getPath(string $path): ApiPlatform\OpenApi\Model\PathItem

Parameters

pathstring

Returns

ApiPlatform\OpenApi\Model\PathItem

getPaths

public getPaths(): array
public getPaths(): array

Returns

array

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop