Permalink
Browse files

bug #3792 Update commands_as_services.rst (mimol91)

This PR was submitted for the master branch but it was merged into the 2.4 branch instead (closes #3792).

Discussion
----------

Update commands_as_services.rst

Missing parent construct

Commits
-------

a28de44 Update commands_as_services.rst
  • Loading branch information...
weaverryan committed Apr 21, 2014
2 parents 512ae2c + ea07ef1 commit 2ebabfbb234c92d86a9311d11e7b8f94be046dfc
Showing with 2 additions and 0 deletions.
  1. +2 −0 cookbook/console/commands_as_services.rst
@@ -90,6 +90,8 @@ have some ``NameRepository`` service that you'll use to get your default value::
public function __construct(NameRepository $nameRepository)
{
parent::__construct();
$this->nameRepository = $nameRepository;
}

0 comments on commit 2ebabfb

Please sign in to comment.