Reference
C
Class

ApiPlatform\Metadata\Extractor\YamlPropertyExtractor

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

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

Properties

properties

array $properties
array $properties

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