From ea07ef15bc766477ff2781bdcf84ae23b7019a1f Mon Sep 17 00:00:00 2001 From: mimol91 Date: Sat, 12 Apr 2014 17:04:33 +0200 Subject: [PATCH] Update commands_as_services.rst Missing parent construct --- cookbook/console/commands_as_services.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cookbook/console/commands_as_services.rst b/cookbook/console/commands_as_services.rst index 09bfe12d77b..60f22824686 100644 --- a/cookbook/console/commands_as_services.rst +++ b/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; }