remove() публичный Метод

Removes all cache entries matching the specified identifier.
public remove ( string $entryIdentifier ) : boolean
$entryIdentifier string Specifies the cache entry to remove
Результат boolean TRUE if the entry could be removed or FALSE if no entry was found
 /**
  * @test
  */
 public function removeReturnsFalseIfTheEntryDoesntExist()
 {
     $cache = $this->createMock(FrontendInterface::class);
     $backend = new TransientMemoryBackend($this->getEnvironmentConfiguration());
     $backend->setCache($cache);
     $identifier = 'NonExistingIdentifier';
     $inCache = $backend->remove($identifier);
     $this->assertFalse($inCache);
 }