Skip to content

Commit f5a183c

Browse files
committed
Merge branch '4.4' into 5.0
* 4.4: Added return value to make the example work as is
2 parents 2817341 + dcd86b5 commit f5a183c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

console/commands_as_services.rst

+2
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ For example, suppose you want to log something from within your command::
4545
{
4646
$this->logger->info('Waking up the sun');
4747
// ...
48+
49+
return 0;
4850
}
4951
}
5052

0 commit comments

Comments
 (0)