PHP Class Airship\Hangar\Commands\Add

Inheritance: extends Airship\Hangar\SessionCommand
Show file Open project: paragonie/airship

Public Properties

Property Type Description
$description string
$display integer
$essential boolean
$name string

Public Methods

Method Description
fire ( array $args = [] ) : boolean Fire the add command!

Protected Methods

Method Description
addFile ( string $filename, string $dir = '' ) : integer Add a file or directory to the update list.

Method Details

addFile() protected method

Add a file or directory to the update list.
protected addFile ( string $filename, string $dir = '' ) : integer
$filename string
$dir string
return integer

fire() public method

Fire the add command!
public fire ( array $args = [] ) : boolean
$args array
return boolean

Property Details

$description public property

public string $description
return string

$display public property

public int $display
return integer

$essential public property

public bool $essential
return boolean

$name public property

public string $name
return string