W3cubDocs

/CakePHP 3.8

Class LegacyCommandRunner

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

Properties summary

Method Summary

  • run() public
    Mimics functionality of Cake\Console\CommandRunner

Method Detail

run()source public

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

Mimics functionality of Cake\Console\CommandRunner

Parameters

array $argv
Argument array
Cake\Console\ConsoleIo $io optional null
ConsoleIo

Returns

integer

Properties detail

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