Метод | Описание | |
---|---|---|
__construct ( string $path ) | Initializes file cache. | |
isFresh ( string $path, integer $timestamp ) : boolean | Checks that cache for feature exists and is fresh. | |
read ( string $path ) : Behat\Gherkin\Node\FeatureNode | Reads feature cache from path. | |
write ( string $path, Behat\Gherkin\Node\FeatureNode $feature ) | Caches feature node. |
Метод | Описание | |
---|---|---|
getCachePathFor ( string $path ) : string | Returns feature cache file path from features path. |
public __construct ( string $path ) | ||
$path | string | Path to the folder where to store caches. |
protected getCachePathFor ( string $path ) : string | ||
$path | string | Feature path |
Результат | string |