Skip to content

Commit

Permalink
Minor tweaks for #1308
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverryan committed Apr 28, 2012
1 parent 9e64820 commit 4728704
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/dependency_injection/definitions.rst
Expand Up @@ -35,7 +35,7 @@ You can retrieve a definition with::
$container->getDefinition($serviceId);

or::

$container->findDefinition($serviceId);

which unlike ``getDefinition()`` also resolves aliases so if the ``$serviceId``
Expand Down Expand Up @@ -76,7 +76,7 @@ To find out what class is set for a definition::

and to set a different class::

$definition->setClass($class); //Fully qualified class name as string
$definition->setClass($class); // Fully qualified class name as string

Constructor Arguments
~~~~~~~~~~~~~~~~~~~~~
Expand Down
1 change: 1 addition & 0 deletions components/map.rst.inc
Expand Up @@ -13,6 +13,7 @@
* :doc:`/components/dependency_injection/index`

* :doc:`/components/dependency_injection/introduction`
* :doc:`/components/dependency_injection/definitions`

* :doc:`/components/event_dispatcher/index`

Expand Down

0 comments on commit 4728704

Please sign in to comment.