public static function PHP_Token_Stream_CachingFactory::clear in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/php-token-stream/src/Token/Stream/CachingFactory.php \PHP_Token_Stream_CachingFactory::clear()
Parameters
string $filename:
File
- vendor/
phpunit/ php-token-stream/ src/ Token/ Stream/ CachingFactory.php, line 43
Class
- PHP_Token_Stream_CachingFactory
- A caching factory for token stream objects.
Code
public static function clear($filename = null) {
if (is_string($filename)) {
unset(self::$cache[$filename]);
}
else {
self::$cache = array();
}
}