File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ Generating a Class Map
45
45
----------------------
46
46
47
47
To generate the class map, simply pass the root directory of your class files
48
- to the :method: `Symfony\\ Component\\ ClassLoader\\ ClassMapGenerator::createMap` `
48
+ to the :method: `Symfony\\ Component\\ ClassLoader\\ ClassMapGenerator::createMap `
49
49
method::
50
50
51
51
use Symfony\Component\ClassLoader\ClassMapGenerator;
@@ -115,7 +115,10 @@ the same as in the example above)::
115
115
116
116
use Symfony\Component\ClassLoader\ClassMapGenerator;
117
117
118
- ClassMapGenerator::dump(array(__DIR__.'/library/bar', __DIR__.'/library/foo'), __DIR__.'/class_map.php');
118
+ ClassMapGenerator::dump(
119
+ array(__DIR__.'/library/bar', __DIR__.'/library/foo'),
120
+ __DIR__.'/class_map.php'
121
+ );
119
122
120
123
.. _`PSR-0` : http://www.php-fig.org/psr/psr-0
121
124
.. _`PSR-4` : http://www.php-fig.org/psr/psr-4
You can’t perform that action at this time.
0 commit comments