Class RunTimeActiveRecordCache
Cache records during run time.
- ICanBoogie\ActiveRecord\ActiveRecordCacheBase implements ICanBoogie\ActiveRecord\ActiveRecordCache
- ┗ ICanBoogie\ActiveRecord\RunTimeActiveRecordCache implements IteratorAggregate
Methods summary
public
store( ICanBoogie\ActiveRecord
$record
)
Stores an ICanBoogie\ActiveRecord
instance in the cache.
public
retrieve( integer $key
)
: ICanBoogie\ActiveRecord
|null
Retrieves an ICanBoogie\ActiveRecord
instance from the cache.