You are here

public static function FileCacheFactory::getPrefix in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Component/FileCache/FileCacheFactory.php \Drupal\Component\FileCache\FileCacheFactory::getPrefix()

Returns the cache prefix.

Return value

string The cache prefix.

3 calls to FileCacheFactory::getPrefix()
FileCacheFactory::get in core/lib/Drupal/Component/FileCache/FileCacheFactory.php
Instantiates a FileCache object for a given collection identifier.
FileCacheFactoryTest::testGetSetPrefix in core/tests/Drupal/Tests/Component/FileCache/FileCacheFactoryTest.php
@covers ::getPrefix @covers ::setPrefix
KernelTestBaseTest::testSetUp in core/tests/Drupal/KernelTests/KernelTestBaseTest.php
@covers ::setUp

File

core/lib/Drupal/Component/FileCache/FileCacheFactory.php, line 102

Class

FileCacheFactory
Creates a FileCache object.

Namespace

Drupal\Component\FileCache

Code

public static function getPrefix() {
  return static::$prefix;
}