References Webhook
Reference
C
Class

ApiPlatform\OpenApi\Attributes\Webhook

class ApiPlatform\OpenApi\Attributes\Webhook
{
    public __construct(string $name, null|ApiPlatform\OpenApi\Model\PathItem $pathItem)
    public getName(): string
    public withName(string $name): ApiPlatform\OpenApi\Attributes\Webhook
    public getPathItem(): ApiPlatform\OpenApi\Model\PathItem
    public withPathItem($pathItem): `<a href="/docs/main/references/OpenApi/Attributes/Webhook">ApiPlatform\OpenApi\Attributes\Webhook
}

Properties

name

string $name

pathItem

Methods

__construct

public __construct(string $name, null|ApiPlatform\OpenApi\Model\PathItem $pathItem)

Parameters

namestring
pathItem`ApiPlatform\OpenApi\Model\PathItem`

getName

public getName(): string

Returns

string

withName

public withName(string $name): ApiPlatform\OpenApi\Attributes\Webhook

Parameters

namestring

Returns

<a href="/docs/main/references/OpenApi/Attributes/Webhook">ApiPlatform\OpenApi\Attributes\Webhook</a>

getPathItem

Returns

<a href="/docs/main/references/OpenApi/Model/PathItem">ApiPlatform\OpenApi\Model\PathItem</a>

withPathItem

Parameters

pathItem`ApiPlatform\OpenApi\Model\PathItem`

Returns

<a href="/docs/main/references/OpenApi/Attributes/Webhook">ApiPlatform\OpenApi\Attributes\Webhook</a>

Made with love by

Les-Tilleuls.coop can help you design and develop your APIs and web projects, and train your teams in API Platform, Symfony, Next.js, Kubernetes and a wide range of other technologies.

Learn more

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop