Reference
C
Class

ApiPlatform\Metadata\Extractor\YamlResourceExtractor

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

class ApiPlatform\Metadata\Extractor\YamlResourceExtractor extends ApiPlatform\Metadata\Extractor\AbstractResourceExtractor implements `<a href="/docs/reference/Metadata/Extractor/ResourceExtractorInterface">ApiPlatform\Metadata\Extractor\ResourceExtractorInterface</a>`
{
    protected extractPath(string $path): null
    public __construct(array&lt;int, string&gt; $paths, null|Psr\Container\ContainerInterface $container)
    public getResources(): array
    protected resolve($value)
}
class ApiPlatform\Metadata\Extractor\YamlResourceExtractor extends ApiPlatform\Metadata\Extractor\AbstractResourceExtractor implements `<a href="/docs/reference/Metadata/Extractor/ResourceExtractorInterface">ApiPlatform\Metadata\Extractor\ResourceExtractorInterface</a>`
{
    protected extractPath(string $path): null
    public __construct(array&lt;int, string&gt; $paths, null|Psr\Container\ContainerInterface $container)
    public getResources(): array
    protected resolve($value)
}

Properties

resources

array $resources
array $resources

paths

array $paths
array $paths

Methods

extractPath

Extracts metadata from a given path.

protected extractPath(string $path): null
protected extractPath(string $path): null

Parameters

pathstring

Returns

null

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop