YamlFileLoader
class YamlFileLoader extends FileLoader
YAML File Loader.
Properties
| protected | $file | from FileLoader |
Methods
| __construct(string $file) | from FileLoader | |
| bool | loadClassMetadata(ClassMetadataInterface $classMetadata) | |
| string[] | getMappedClasses() Return the names of the classes mapped in this file. |
Details
__construct(string $file)
Parameters
| string | $file | The mapping file to load |
Exceptions
| MappingException | if the mapping file does not exist or is not readable |
bool loadClassMetadata(ClassMetadataInterface $classMetadata)
Parameters
| ClassMetadataInterface | $classMetadata |
Return Value
| bool |
string[] getMappedClasses()
Return the names of the classes mapped in this file.
Return Value
| string[] | The classes names |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Serializer/Mapping/Loader/YamlFileLoader.html