From fecc4e325b697babeca17422dd610191e91f11c6 Mon Sep 17 00:00:00 2001 From: Greg Anderson Date: Fri, 9 Sep 2016 18:53:44 -0700 Subject: [PATCH] Clarify comment about collection builders. --- src/Runner.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Runner.php b/src/Runner.php index 595fe4d53..823fbee93 100644 --- a/src/Runner.php +++ b/src/Runner.php @@ -189,7 +189,8 @@ protected function instantiateCommandClass($commandClass) $commandClass = $container->get($commandFileName); } // If the command class is a Builder Aware Interface, then - // + // ensure that it has a builder. Every command class needs + // its own collection builder, as they have references to each other. if ($commandClass instanceof BuilderAwareInterface) { $builder = $container->get('collectionBuilder', [$commandClass]); $commandClass->setBuilder($builder);