Class LegacyCommandRunner

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

Namespace: Cake\TestSuite

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

A ConsoleIo instance.

Returns

int

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