Class LegacyCommandRunner

Class that dispatches to the legacy ShellDispatcher using the same signature as the newer CommandRunner

Namespace: Cake\TestSuite

Properties summary

  • $_io protected
    \Cake\Console\ConsoleIo

Method Summary

  • run() public

    Mimics functionality of Cake\Console\CommandRunner

Method Detail

run() public

run(array $argv, \Cake\Console\ConsoleIo $io)

Mimics functionality of Cake\Console\CommandRunner

Parameters

array $argv

Argument array

\Cake\Console\ConsoleIo $io optional

ConsoleIo

Returns

int

Property Detail

$_io protected

Type

\Cake\Console\ConsoleIo

© 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/3.9/class-Cake.TestSuite.LegacyCommandRunner.html