Reference
I
Interface

ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface

Creates a resource metadata value object.

interface ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface
{
    public create(string $resourceClass): ApiPlatform\Metadata\Resource\ResourceMetadataCollection
}
interface ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface
{
    public create(string $resourceClass): ApiPlatform\Metadata\Resource\ResourceMetadataCollection
}

Methods

create

Creates a resource metadata.

public create(string $resourceClass): ApiPlatform\Metadata\Resource\ResourceMetadataCollection
public create(string $resourceClass): ApiPlatform\Metadata\Resource\ResourceMetadataCollection

Parameters

resourceClassstring

Returns

ApiPlatform\Metadata\Resource\ResourceMetadataCollection

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop