PHP Class Deployer\Type\Result

Datei anzeigen Open project: elfet/deployer Class Usage Examples

Public Methods

Method Description
__construct ( string $output )
__toString ( ) : string
getOutput ( ) : string
toArray ( ) : array
toBool ( ) : boolean Check if output of command is equal "true" string and return true, otherwise false.
toString ( ) : string

Method Details

__construct() public method

public __construct ( string $output )
$output string

__toString() public method

public __toString ( ) : string
return string

getOutput() public method

public getOutput ( ) : string
return string

toArray() public method

public toArray ( ) : array
return array

toBool() public method

Check if output of command is equal "true" string and return true, otherwise false.
public toBool ( ) : boolean
return boolean

toString() public method

public toString ( ) : string
return string