Skip to content

Fix typo, remove horizontal scrollbar #4914

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 30, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions components/class_loader/class_map_generator.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Generating a Class Map
----------------------

To generate the class map, simply pass the root directory of your class files
to the :method:`Symfony\\Component\\ClassLoader\\ClassMapGenerator::createMap``
to the :method:`Symfony\\Component\\ClassLoader\\ClassMapGenerator::createMap`
method::

use Symfony\Component\ClassLoader\ClassMapGenerator;
Expand Down Expand Up @@ -115,7 +115,10 @@ the same as in the example above)::

use Symfony\Component\ClassLoader\ClassMapGenerator;

ClassMapGenerator::dump(array(__DIR__.'/library/bar', __DIR__.'/library/foo'), __DIR__.'/class_map.php');
ClassMapGenerator::dump(
array(__DIR__.'/library/bar', __DIR__.'/library/foo'),
__DIR__.'/class_map.php'
);

.. _`PSR-0`: http://www.php-fig.org/psr/psr-0
.. _`PSR-4`: http://www.php-fig.org/psr/psr-4
Expand Down