[ Index ]

PHP Cross Reference of phpBB-3.3.7-deutsch




/vendor/symfony/dependency-injection/Loader/ -> YamlFileLoader.php (summary)

(no description)

File Size: 847 lines (34 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

YamlFileLoader:: (13 methods):

Class: YamlFileLoader  - X-Ref

YamlFileLoader loads YAML files service definitions.

load($resource, $type = null)   X-Ref

supports($resource, $type = null)   X-Ref

parseImports(array $content, $file)   X-Ref
Parses all imports.

param: string $file

parseDefinitions(array $content, $file)   X-Ref
Parses definitions.

param: string $file

parseDefaults(array &$content, $file)   X-Ref

param: string $file
return: array

isUsingShortSyntax(array $service)   X-Ref

return: bool

parseDefinition($id, $service, $file, array $defaults)   X-Ref
Parses a definition.

param: string       $id
param: array|string $service
param: string       $file

parseCallable($callable, $parameter, $id, $file)   X-Ref
Parses a callable.

param: string|array $callable  A callable
param: string       $parameter A parameter (e.g. 'factory' or 'configurator')
param: string       $id        A service identifier
param: string       $file      A parsed file
return: string|array A parsed callable

loadFile($file)   X-Ref
Loads a YAML file.

param: string $file
return: array The file content

validate($content, $file)   X-Ref
Validates a YAML file.

param: mixed  $content
param: string $file
return: array

resolveServices($value, $file, $isParameter = false)   X-Ref
Resolves services.

param: mixed  $value
param: string $file
param: bool   $isParameter
return: array|string|Reference|ArgumentInterface

loadFromExtensions(array $content)   X-Ref
Loads from Extensions.

checkDefinition($id, array $definition, $file)   X-Ref
Checks the keywords used to define a service.

param: string $id         The service name
param: array  $definition The service definition to check
param: string $file       The loaded YAML file

Generated: Thu Mar 24 21:31:15 2022 Cross-referenced by PHPXref 0.7.1