Interface CommandCollectionAwareInterface

An interface for shells that take a CommandCollection during initialization.

Namespace: Cake\Console

Method Summary

Method Detail

setCommandCollection() public

setCommandCollection(\Cake\Console\CommandCollection $commands)

Set the command collection being used.

Parameters

\Cake\Console\CommandCollection $commands

The commands to use.

© 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.0/interface-Cake.Console.CommandCollectionAwareInterface.html