References XmlResourceExtractor
Reference
C
Class

ApiPlatform\Metadata\Extractor\XmlResourceExtractor

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

class ApiPlatform\Metadata\Extractor\XmlResourceExtractor 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)
}

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