Skip to content

Commit

Permalink
minor #4914 Fix typo, remove horizontal scrollbar (ifdattic)
Browse files Browse the repository at this point in the history
This PR was merged into the 2.3 branch.

Discussion
----------

Fix typo, remove horizontal scrollbar

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | 2.3
| Fixed tickets |

Commits
-------

d078ca4 Fix typo, remove horizontal scrollbar
  • Loading branch information
weaverryan committed Jan 30, 2015
2 parents fc776ab + d078ca4 commit d7acccf
Showing 1 changed file with 5 additions and 2 deletions.
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

0 comments on commit d7acccf

Please sign in to comment.