@@ -22,7 +22,7 @@ files. This can be done with the :class:`Symfony\\Component\\Config\\FileLocator
2222 $configDirectories = array(__DIR__.'/app/config');
2323
2424 $locator = new FileLocator($configDirectories);
25- $yamlUserFiles = $locator->locate('users.yml ', null, false);
25+ $yamlUserFiles = $locator->locate('users.yaml ', null, false);
2626
2727The locator receives a collection of locations where it should look for
2828files. The first argument of ``locate() `` is the name of the file to look
@@ -53,12 +53,12 @@ which allows for recursively importing other resources::
5353
5454 // maybe import some other resource:
5555
56- // $this->import('extra_users.yml ');
56+ // $this->import('extra_users.yaml ');
5757 }
5858
5959 public function supports($resource, $type = null)
6060 {
61- return is_string($resource) && 'yml ' === pathinfo(
61+ return is_string($resource) && 'yaml ' === pathinfo(
6262 $resource,
6363 PATHINFO_EXTENSION
6464 );
@@ -88,5 +88,5 @@ the resource::
8888 $delegatingLoader = new DelegatingLoader($loaderResolver);
8989
9090 // YamlUserLoader is used to load this resource because it supports
91- // files with the '.yml ' extension
92- $delegatingLoader->load(__DIR__.'/users.yml ');
91+ // files with the '.yaml ' extension
92+ $delegatingLoader->load(__DIR__.'/users.yaml ');
0 commit comments