On this page
Interface CommandCollectionAwareInterface
An interface for shells that take a CommandCollection during initialization.
Namespace: Cake\Console
Method Summary
setCommandCollection() public
Set the command collection being used.
Method Detail
setCommandCollection() public
setCommandCollection(Cake\Console\CommandCollection $commands): void
Set the command collection being used.
Parameters
Cake\Console\CommandCollection
$commands-
The commands to use.
Returns
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