Skip to content

Commit 2ebabfb

Browse files
committed
bug symfony#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 symfony#3792). Discussion ---------- Update commands_as_services.rst Missing parent construct Commits ------- a28de44 Update commands_as_services.rst
2 parents 512ae2c + ea07ef1 commit 2ebabfb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cookbook/console/commands_as_services.rst

+2
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ have some ``NameRepository`` service that you'll use to get your default value::
9090

9191
public function __construct(NameRepository $nameRepository)
9292
{
93+
parent::__construct();
94+
9395
$this->nameRepository = $nameRepository;
9496
}
9597

0 commit comments

Comments
 (0)