An Operation dictionnary.
class ApiPlatform\Metadata\Operations implements IteratorAggregate, Countable, Traversable
{
public __construct(array<string|int, ApiPlatform\Metadata\Operation> $operations)
public getIterator(): Traversable
public add(string $key, $value): `<a href="/docs/main/references/Metadata/Operations">ApiPlatform\Metadata\Operations
public remove(string $key): ApiPlatform\Metadata\Operations
public has(string $key): bool
public count(): int
public sort(): ApiPlatform\Metadata\Operations
}
public __construct(array<string|int, ApiPlatform\Metadata\Operation> $operations)
operations | array<string int, `ApiPlatform\Metadata\Operation`> |
public getIterator(): Traversable
Traversable
public add(string $key, $value): `<a href="/docs/main/references/Metadata/Operations">ApiPlatform\Metadata\Operations
key | string | |
value | `ApiPlatform\Metadata\Operation` |
<a href="/docs/main/references/Metadata/Operations">ApiPlatform\Metadata\Operations</a>
public remove(string $key): ApiPlatform\Metadata\Operations
key | string |
<a href="/docs/main/references/Metadata/Operations">ApiPlatform\Metadata\Operations</a>
public has(string $key): bool
key | string |
bool
public count(): int
int
public sort(): ApiPlatform\Metadata\Operations
<a href="/docs/main/references/Metadata/Operations">ApiPlatform\Metadata\Operations</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