Extracts an array of metadata from a list of YAML files.
class ApiPlatform\Metadata\Extractor\YamlResourceExtractor extends implements `<a href="/docs/main/references/Metadata/Extractor/ResourceExtractorInterface">ApiPlatform\Metadata\Extractor\ResourceExtractorInterface
{
protected extractPath(string $path): null
public __construct(array<int, string> $paths, null|Psr\Container\ContainerInterface $container)
public getResources(): array
protected resolve($value)
}
array $resources
array $paths
Extracts metadata from a given path.
protected extractPath(string $path): null
path | string |
null
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