References YamlPropertyExtractor
Reference
C
Class

ApiPlatform\Metadata\Extractor\YamlPropertyExtractor

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

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

Properties

properties

array $properties

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