An interface for shells that take a CommandCollection during initialization.
Set the command collection being used.
setCommandCollection(Cake\Console\CommandCollection $commands): void
Set the command collection being used.
Cake\Console\CommandCollection $commands The commands to use.
void
© 2005–present The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
https://api.cakephp.org/4.4/interface-Cake.Console.CommandCollectionAwareInterface.html