Skip to content

Commit 97e70d9

Browse files
committed
Merge branch '5.1'
* 5.1: Added return value to make the example work as is
2 parents 1d29562 + fdc6ff7 commit 97e70d9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

console/commands_as_services.rst

Lines changed: 2 additions & 0 deletions
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)