class D8CacheDrupalAttachmentsCollector in Drupal 8 Cache Backport 7
Adds reset() and some properties to DrupalAttachmentsCollector().
Hierarchy
- class \D8CacheDrupalAttachmentsCollector extends \DrupalAttachmentsCollector
Expanded class hierarchy of D8CacheDrupalAttachmentsCollector
File
- ./
d8cache-ac.cache.inc, line 14
View source
class D8CacheDrupalAttachmentsCollector extends DrupalAttachmentsCollector {
/**
* A count for how many cache IDs this collector should be used.
*
* @var int
*/
public $count = 0;
/**
* The stored previous collector.
*
* @var \DrupalAttachmentsCollector
*/
public $previousCollector = NULL;
/**
* Reset the attachments in the collector.
*/
public function reset() {
$this->attachments = array();
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
D8CacheDrupalAttachmentsCollector:: |
public | property | A count for how many cache IDs this collector should be used. | |
D8CacheDrupalAttachmentsCollector:: |
public | property | The stored previous collector. | |
D8CacheDrupalAttachmentsCollector:: |
public | function | Reset the attachments in the collector. |