PHP Class Netson\L4gettext\Compilers\BladeCompiler

Inheritance: extends Illuminate\View\Compilers\BladeCompiler
Afficher le fichier Open project: netson/l4gettext

Méthodes publiques

Méthode Description
compile ( string $path ) : string method differs from parent method in that it returns the compiled path this can be used by the calling function to do cleanup afterwards
getCachePath ( ) : string new method which returns the set cachePath
getCompiledPath ( string $path ) : string method just adds extension .php to parents' compiled path
setCachePath ( string $cachePath ) new method which allows overwriting the cache path after initialization instead of having to provide it to the constructor
setFiles ( Illuminate\Filesystem\Filesystem $files ) method to set the $files attribute after calling the constructor

Method Details

compile() public méthode

method differs from parent method in that it returns the compiled path this can be used by the calling function to do cleanup afterwards
public compile ( string $path ) : string
$path string
Résultat string

getCachePath() public méthode

new method which returns the set cachePath
public getCachePath ( ) : string
Résultat string

getCompiledPath() public méthode

method just adds extension .php to parents' compiled path
public getCompiledPath ( string $path ) : string
$path string
Résultat string

setCachePath() public méthode

new method which allows overwriting the cache path after initialization instead of having to provide it to the constructor
public setCachePath ( string $cachePath )
$cachePath string

setFiles() public méthode

method to set the $files attribute after calling the constructor
public setFiles ( Illuminate\Filesystem\Filesystem $files )
$files Illuminate\Filesystem\Filesystem