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

Parameters

Input $input
Output $output

Return Value

int

at line 98
int addCommand(Input $input, Output $output)

Add component directory code from git repo by 'git subtree add'

Parameters

Input $input
Output $output

Return Value

int

Exceptions

RuntimeException

at line 143
int pullCommand(Input $input, Output $output)

Update component directory code from git repo by 'git subtree pull'

Parameters

Input $input
Output $output

Return Value

int

Exceptions

RuntimeException

at line 179
int pushCommand(Input $input, Output $output)

Push component[s] directory code to component's repo by 'git subtree push'

Parameters

Input $input
Output $output

Return Value

int

Exceptions

RuntimeException

at line 199
protected int runGitSubtree(Input $input, Output $output, array $config)

Parameters

Input $input
Output $output
array $config

Return Value

int

Exceptions

RuntimeException

at line 291
int genApiCommand(Input $input, Output $output)

Generate classes API documents by 'sami/sami'

Parameters

Input $input
Output $output

Return Value

int

Exceptions

RuntimeException