Guides
Tutorials
Extracts an array of metadata from a list of XML files.
class ApiPlatform\Metadata\Extractor\XmlPropertyExtractor 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<int, string> $paths, null|Psr\Container\ContainerInterface $container)
public getProperties(): array
protected resolve($value)
}
class ApiPlatform\Metadata\Extractor\XmlPropertyExtractor 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<int, string> $paths, null|Psr\Container\ContainerInterface $container)
public getProperties(): array
protected resolve($value)
}
array $properties
array $properties
array $paths
array $paths
Extracts metadata from a given path.
protected extractPath(string $path): null
protected extractPath(string $path): null
path | string |
null