function FileParsingCacheCollectorBase::parseFile
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Utility/FileParsingCacheCollectorBase.php \Drupal\Core\Utility\FileParsingCacheCollectorBase::parseFile()
Parses a file given a filename and returns the result.
Parameters
string $file: The file path.
Return value
mixed The result of the file parsing.
1 call to FileParsingCacheCollectorBase::parseFile()
- FileParsingCacheCollectorBase::resolveCacheMiss in core/
lib/ Drupal/ Core/ Utility/ FileParsingCacheCollectorBase.php - Resolves a cache miss.
1 method overrides FileParsingCacheCollectorBase::parseFile()
- YamlCacheCollector::parseFile in core/
lib/ Drupal/ Core/ Utility/ YamlCacheCollector.php - Parses a file given a filename and returns the result.
File
-
core/
lib/ Drupal/ Core/ Utility/ FileParsingCacheCollectorBase.php, line 83
Class
- FileParsingCacheCollectorBase
- Caches file parsing in a cache collector.
Namespace
Drupal\Core\UtilityCode
abstract protected function parseFile(string $file) : mixed;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.