Trait rex_instance_list_pool_trait

Instance List Pool Trait.

Direct Known Users

rex_media, rex_media_category, rex_structure_element

Indirect Known Users

rex_article, rex_category

Package: redaxo\core
Author: gharlan
Located at redaxo/src/core/lib/base/instance_list_pool_trait.php

Methods summary

protected static
# addInstanceList( mixed $key, array $instanceKeyList )

Adds an instance list.

protected static boolean
# hasInstanceList( mixed $key )

Checks whether an instance list exists for the given key.

protected static array
# getInstanceList( mixed $key, callable $getInstanceCallback, callable $createListCallback = null )

Returns the instance list for the given key.

public static
# clearInstanceList( mixed $key )

Clears the instance list of the given key.

public static
# clearInstanceListPool( )

Clears the instance list pool.