\Cake\ConsoleCommandCollectionAwareInterface

An interface for shells that take a CommandCollection during initialization.

Summary

Methods
Constants
setCommandCollection()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

setCommandCollection()

setCommandCollection(\Cake\Console\CommandCollection  $commands) : void

Set the command collection being used.

Parameters

\Cake\Console\CommandCollection $commands

The commands to use.