Skip to content

Commit

Permalink
bug #3792 Update commands_as_services.rst (mimol91)
Browse files Browse the repository at this point in the history
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 2ebabfb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cookbook/console/commands_as_services.rst
Expand Up @@ -90,6 +90,8 @@ have some ``NameRepository`` service that you'll use to get your default value::


public function __construct(NameRepository $nameRepository) public function __construct(NameRepository $nameRepository)
{ {
parent::__construct();
$this->nameRepository = $nameRepository; $this->nameRepository = $nameRepository;
} }


Expand Down

0 comments on commit 2ebabfb

Please sign in to comment.