PHP Class Crontab\Variable

Datei anzeigen Open project: yzalis/crontab Class Usage Examples

Protected Properties

Property Type Description
$name string
$value string

Public Methods

Method Description
__toString ( ) : string
getHash ( ) : string
getName ( ) : string
getValue ( ) : string
parse ( string $varLine ) : Variable Parse a variable line
render ( ) : string
setName ( string $name ) : Variable
setValue ( string $value ) : Variable

Method Details

__toString() public method

public __toString ( ) : string
return string

getHash() public method

public getHash ( ) : string
return string

getName() public method

public getName ( ) : string
return string

getValue() public method

public getValue ( ) : string
return string

parse() public static method

Parse a variable line
public static parse ( string $varLine ) : Variable
$varLine string
return Variable

render() public method

public render ( ) : string
return string

setName() public method

public setName ( string $name ) : Variable
$name string
return Variable

setValue() public method

public setValue ( string $value ) : Variable
$value string
return Variable

Property Details

$name protected_oe property

protected string $name
return string

$value protected_oe property

protected string $value
return string