mediatekformation

YamlFileLoader extends FileLoader
in package

YAML File Loader.

Tags
author

Kévin Dunglas dunglas@gmail.com

Table of Contents

$file  : mixed
$classes  : array<string|int, mixed>
An array of YAML class descriptions.
$yamlParser  : mixed
__construct()  : mixed
getMappedClasses()  : array<string|int, string>
Return the names of the classes mapped in this file.
loadClassMetadata()  : mixed
{@inheritdoc}
getClassesFromYaml()  : array<string|int, mixed>

Properties

$classes

An array of YAML class descriptions.

private array<string|int, mixed> $classes

Methods

__construct()

public __construct(string $file) : mixed
Parameters
$file : string

The mapping file to load

Tags
throws
MappingException

if the mapping file does not exist or is not readable

Return values
mixed —

getMappedClasses()

Return the names of the classes mapped in this file.

public getMappedClasses() : array<string|int, string>
Return values
array<string|int, string> —

The classes names

loadClassMetadata()

{@inheritdoc}

public loadClassMetadata(ClassMetadataInterface $classMetadata) : mixed
Parameters
$classMetadata : ClassMetadataInterface
Return values
mixed —

getClassesFromYaml()

private getClassesFromYaml() : array<string|int, mixed>
Return values
array<string|int, mixed> —

Search results