PHP Class CacheTool\Code

Afficher le fichier Open project: gordalina/cachetool Class Usage Examples

Protected Properties

Свойство Type Description
$code array

Méthodes publiques

Méthode Description
addStatement ( string $statement )
fromString ( string $statement ) : Code
getCode ( ) : string
getCodeExecutable ( ) : string
writeTo ( string $file ) : null

Method Details

addStatement() public méthode

public addStatement ( string $statement )
$statement string

fromString() public static méthode

public static fromString ( string $statement ) : Code
$statement string
Résultat Code

getCode() public méthode

public getCode ( ) : string
Résultat string

getCodeExecutable() public méthode

public getCodeExecutable ( ) : string
Résultat string

writeTo() public méthode

public writeTo ( string $file ) : null
$file string
Résultat null

Property Details

$code protected_oe property

protected array $code
Résultat array