Copied!

YAML File Loader.

CloneableInstantiable
Methods
public Symfony\Component\Serializer\Mapping\Loader\FileLoader::__construct(string $file)
 
  • param string $file The mapping file to load
  • throws \MappingException if the mapping file does not exist or is not readable
public getMappedClasses() : array
 

Return the names of the classes mapped in this file.

  • return string[]
public loadClassMetadata(Symfony\Component\Serializer\Mapping\ClassMetadataInterface $classMetadata) : bool
Properties
protected string Symfony\Component\Serializer\Mapping\Loader\FileLoader::$file
Properties
private ?array $classes = NULL
 

An array of YAML class descriptions.

private ?Symfony\Component\Yaml\Parser $yamlParser = NULL
Methods
private getClassesFromYaml() : array
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration