| [ Index ] |
PHP Cross Reference of phpBB-3.1.12-deutsch |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 211 lines (8 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
YamlFileLoader:: (5 methods):
load()
supports()
parseRoute()
parseImport()
validate()
Class: YamlFileLoader - X-Ref
YamlFileLoader loads Yaml routing files.| load($file, $type = null) X-Ref |
| Loads a Yaml file. param: string $file A Yaml file path param: string|null $type The resource type return: RouteCollection A RouteCollection instance |
| supports($resource, $type = null) X-Ref |
| {@inheritdoc} |
| parseRoute(RouteCollection $collection, $name, array $config, $path) X-Ref |
| Parses a route and adds it to the RouteCollection. param: RouteCollection $collection A RouteCollection instance param: string $name Route name param: array $config Route definition param: string $path Full path of the YAML file being processed |
| parseImport(RouteCollection $collection, array $config, $path, $file) X-Ref |
| Parses an import and adds the routes in the resource to the RouteCollection. param: RouteCollection $collection A RouteCollection instance param: array $config Route definition param: string $path Full path of the YAML file being processed param: string $file Loaded file name |
| validate($config, $name, $path) X-Ref |
| Validates the route configuration. param: array $config A resource config param: string $name The config key param: string $path The loaded file path |
| Generated: Thu Jan 11 00:25:41 2018 | Cross-referenced by PHPXref 0.7.1 |