Guides
Tutorials
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, ApiPlatform\Metadata\Operation $value): ApiPlatform\Metadata\Operations
public remove(string $key): ApiPlatform\Metadata\Operations
public has(string $key): bool
public count(): int
public sort(): ApiPlatform\Metadata\Operations
}
class ApiPlatform\Metadata\Operations implements IteratorAggregate, Countable, Traversable
{
public __construct(array<string
int, ApiPlatform\Metadata\Operation> $operations)
public getIterator(): Traversable
public add(string $key, ApiPlatform\Metadata\Operation $value): 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)
public __construct(array<string
int, ApiPlatform\Metadata\Operation> $operations)
operations | array<string int, ApiPlatform\Metadata\Operation> |
public getIterator(): Traversable
public getIterator(): Traversable
Traversable
public add(string $key, ApiPlatform\Metadata\Operation $value): ApiPlatform\Metadata\Operations
public add(string $key, ApiPlatform\Metadata\Operation $value): ApiPlatform\Metadata\Operations
key | string | |
value | ApiPlatform\Metadata\Operation |
ApiPlatform\Metadata\Operations
public remove(string $key): ApiPlatform\Metadata\Operations
public remove(string $key): ApiPlatform\Metadata\Operations
key | string |
ApiPlatform\Metadata\Operations
public has(string $key): bool
public has(string $key): bool
key | string |
bool
public count(): int
public count(): int
int
public sort(): ApiPlatform\Metadata\Operations
public sort(): ApiPlatform\Metadata\Operations