Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
ScaffoldCommand Class Reference

Create a new command Ubiquity\scaffolding$ScaffoldCommand This class is part of Ubiquity. More...

Public Member Functions

 __construct ($name, $value, $description, $aliases="", $parameters="")
 
 createNamespace ($directory)
 
 getTemplateDir ()
 
 create ($pattern, &$cmdPath)
 

Protected Member Functions

 createParameters ()
 
 addUses ()
 

Protected Attributes

 $name
 
 $description
 
 $value
 
 $aliases
 
 $parameters
 
 $uses = []
 

Detailed Description

Create a new command Ubiquity\scaffolding$ScaffoldCommand This class is part of Ubiquity.

Author
jc
Version
1.0.0

Definition at line 17 of file ScaffoldCommand.php.

Constructor & Destructor Documentation

◆ __construct()

__construct (   $name,
  $value,
  $description,
  $aliases = "",
  $parameters = "" 
)

Definition at line 31 of file ScaffoldCommand.php.

Member Function Documentation

◆ addUses()

addUses ( )
protected

Definition at line 53 of file ScaffoldCommand.php.

◆ create()

create (   $pattern,
$cmdPath 
)

Definition at line 73 of file ScaffoldCommand.php.

◆ createNamespace()

createNamespace (   $directory)

Definition at line 62 of file ScaffoldCommand.php.

◆ createParameters()

createParameters ( )
protected

Definition at line 39 of file ScaffoldCommand.php.

◆ getTemplateDir()

getTemplateDir ( )

Definition at line 69 of file ScaffoldCommand.php.

Field Documentation

◆ $aliases

$aliases
protected

Definition at line 25 of file ScaffoldCommand.php.

◆ $description

$description
protected

Definition at line 21 of file ScaffoldCommand.php.

◆ $name

$name
protected

Definition at line 19 of file ScaffoldCommand.php.

◆ $parameters

$parameters
protected

Definition at line 27 of file ScaffoldCommand.php.

◆ $uses

$uses = []
protected

Definition at line 29 of file ScaffoldCommand.php.

◆ $value

$value
protected

Definition at line 23 of file ScaffoldCommand.php.


The documentation for this class was generated from the following file: