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

The international conference on the API Platform Framework

API Platform Conference 2024: meet the best PHP, JavaScript and API experts

Learn more about the event, register for the conference, and get ready for two days of inspiration, ideas, and knowledge-sharing with our incredible lineup of renowned specialists and advocates.

Register now
Reference
C
Class

ApiPlatform\Metadata\Extractor\YamlResourceExtractor

Extracts an array of metadata from a list of YAML files.

class ApiPlatform\Metadata\Extractor\YamlResourceExtractor extends implements `<a href="/docs/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)
}

Properties

resources

array $resources

paths

array $paths

Methods

extractPath

Extracts metadata from a given path.

protected extractPath(string $path): null

Parameters

pathstring

Returns

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

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop