On this page
Class ApiShell
API shell to show method signatures of CakePHP core classes.
Implementation of a Cake Shell to show CakePHP core method signatures.
- AppShell
ApiShell
Package: Cake\Console\Command
Copyright: Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
License: MIT License
Location: Cake/Console/Command/ApiShell.php
Copyright: Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
License: MIT License
Location: Cake/Console/Command/ApiShell.php
Properties summary
-
$paths
publicarray
Method Summary
-
_parseClass() protected
Parse a given class (located on given file) and get public methods and their signatures.
-
getOptionParser() publicGets the option parser instance and configures it.
-
help() publicShow help for this shell.
-
initialize() publicOverride initialize of the Shell
-
main() publicOverride main() to handle action
Method Detail
_parseClass()source protected
_parseClass( string $path , string $class )
Parse a given class (located on given file) and get public methods and their signatures.
Parameters
-
string
$path
- File path
-
string
$class
- Class name
Returns
arrayMethods and signatures indexed by method name
getOptionParser()source public
getOptionParser( )
Gets the option parser instance and configures it.
Returns
ConsoleOptionParser
Properties detail
© 2005–2017 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/2.10/class-ApiShell.html