Api Platform conference
Register now
References Webhook
API Platform Conference
September 19-20, 2024 | Lille & online

The international conference on the API Platform Framework

Get ready for game-changing announcements for the PHP community!

The API Platform Conference 2024 is happening soon, and it's close to selling out.
API Platform 4, Caddy web server, Xdebug, AI... Enjoy two days of inspiring talks with our friendly community and our amazing speakers.

Only a few tickets left!
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/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/references/OpenApi/Attributes/Webhook">ApiPlatform\OpenApi\Attributes\Webhook</a>

# getPathItem

# Returns

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

# withPathItem

# Parameters

pathItem`ApiPlatform\OpenApi\Model\PathItem`

# Returns

<a href="/docs/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