NewCommand
extends Command
in package
Class NewCommand.
Table of Contents
- copyDir() : void
- create() : void
- getComposerSource() : false|string
- getDirectory() : string
- getDistroSource() : false|string
- promptDirectory() : string
Methods
copyDir()
protected
copyDir(string $source, string $directory) : void
Parameters
- $source : string
- $directory : string
Return values
void —create()
protected
create(string $package, string $name) : void
Parameters
- $package : string
- $name : string
Return values
void —getComposerSource()
protected
getComposerSource(string $package[, bool $global = false ]) : false|string
Parameters
- $package : string
- $global : bool = false
Return values
false|string —getDirectory()
protected
getDirectory() : string
Return values
string —getDistroSource()
protected
getDistroSource(string $package) : false|string
Parameters
- $package : string
Return values
false|string —promptDirectory()
protected
promptDirectory() : string