PHP Class Transphporm\TSSCache

Mostra file Open project: level-2/transphporm

Public Methods

Method Description
__construct ( transphporm\Cache $cache, $prefix )
load ( $tss )
write ( $file, $rules, $imports = [] )

Private Methods

Method Description
getCacheKey ( $file )
getRulesFromCache ( $file )

Method Details

__construct() public method

public __construct ( transphporm\Cache $cache, $prefix )
$cache transphporm\Cache

load() public method

public load ( $tss )

write() public method

public write ( $file, $rules, $imports = [] )