Documentation

Rebuilder
in package

The Rebuilder can identify, select, execute any tasks needed to destroy/create any ephemeral data-structures (caches, etc) in the system.

The canonical way to access this is is \Civi::rebuild()

Tags
see
Civi::rebuild()

NOTE: The initial API emphasizes an array of targets. However, in the future, we may need changes. The Rebuilder class-design should be amenable to phasing-in fluent helpers.

Table of Contents

Properties

$targets  : array<string|int, mixed>

Methods

__construct()  : mixed
execute()  : void

Properties

$targets

private array<string|int, mixed> $targets

Methods

__construct()

public __construct(array<string|int, mixed> $targets) : mixed
Parameters
$targets : array<string|int, mixed>

        
On this page

Search results