DevController
class DevController extends Controller
Internal tool for toolkit development
Constants
TYPE_SSL |
|
TYPE_HTTPS |
|
Properties
static protected | $name | ||
static protected | $description | ||
string | $gitUrl | ||
array | $components | ||
string | $componentDir |
Methods
int
listCommand(Input $input, Output $output)
List all swoft component names in the php-toolkit/toolkit
int
addCommand(Input $input, Output $output)
Add component directory code from git repo by 'git subtree add'
int
pullCommand(Input $input, Output $output)
Update component directory code from git repo by 'git subtree pull'
int
pushCommand(Input $input, Output $output)
Push component[s] directory code to component's repo by 'git subtree push'
int
runGitSubtree(Input $input, Output $output, array $config)
No description
int
genApiCommand(Input $input, Output $output)
Generate classes API documents by 'sami/sami'
Details
at line 53
int
listCommand(Input $input, Output $output)
List all swoft component names in the php-toolkit/toolkit
at line 98
int
addCommand(Input $input, Output $output)
Add component directory code from git repo by 'git subtree add'
at line 143
int
pullCommand(Input $input, Output $output)
Update component directory code from git repo by 'git subtree pull'
at line 179
int
pushCommand(Input $input, Output $output)
Push component[s] directory code to component's repo by 'git subtree push'
at line 199
protected int
runGitSubtree(Input $input, Output $output, array $config)
at line 291
int
genApiCommand(Input $input, Output $output)
Generate classes API documents by 'sami/sami'