YamlFileLoader
extends FileLoader
in package
YAML File Loader.
Tags
Table of Contents
Properties
- $file : mixed
- $classes : array<string|int, mixed>
- An array of YAML class descriptions.
- $yamlParser : mixed
Methods
- __construct() : mixed
- getMappedClasses() : array<string|int, string>
- Return the names of the classes mapped in this file.
- loadClassMetadata() : bool
- {@inheritdoc}
- getClassesFromYaml() : array<string|int, mixed>
Properties
$file
protected
mixed
$file
$classes
An array of YAML class descriptions.
private
array<string|int, mixed>
$classes
$yamlParser
private
mixed
$yamlParser
Methods
__construct()
public
__construct(string $file) : mixed
Parameters
- $file : string
-
The mapping file to load
Tags
getMappedClasses()
Return the names of the classes mapped in this file.
public
getMappedClasses() : array<string|int, string>
Return values
array<string|int, string>loadClassMetadata()
{@inheritdoc}
public
loadClassMetadata(ClassMetadataInterface $classMetadata) : bool
Parameters
- $classMetadata : ClassMetadataInterface
Return values
boolgetClassesFromYaml()
private
getClassesFromYaml() : array<string|int, mixed>