W3cubDocs

/CakePHP 4.4

Class LegacyCommandRunner

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

Method Summary

  • run() public

    Mimics functionality of Cake\Console\CommandRunner

Method Detail

run() public

run(array $argv, Cake\Console\ConsoleIo|null $io = null): int

Mimics functionality of Cake\Console\CommandRunner

Parameters

array $argv

Argument array

Cake\Console\ConsoleIo|null $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.4/class-Cake.Console.TestSuite.LegacyCommandRunner.html