Interface \Prado\Collections\ICollectionFilter
ICollectionFilter interface
Namespace: \Prado\CollectionsCollections implement this to convert their items for storage. Mainly this is used by TWeakCallableCollection and TWeakList to convert objects into WeakReference.
Author: Brad Anderson <belisoful@icloud.com>
Since: 4.3.0
public
static
|
filterItemForInput(mixed &$item) : void
Converts an item into an internal storage format. For instance, IWeakCollection
will convert objects into WeakReferences.
|
public
static
|
filterItemForOutput(mixed &$item) : void
Converts an item from an internal storage format back to its normal state.
For instance, IWeakCollection will convert objects from WeakReferences. |
|