ICanBoogie
  • Documentation
  • API Reference
  • ActiveRecord master
Namespaces
  • ICanBoogie
    • ActiveRecord
      • Driver
Classes
  • ActiveRecordCacheBase
  • BelongsToRelation
  • Connection
  • ConnectionCollection
  • ConnectionOptions
  • DateTimePropertySupport
  • HasManyRelation
  • Helpers
  • Model
  • ModelCollection
  • Query
  • Relation
  • RelationCollection
  • RelationNotDefined
  • RuntimeActiveRecordCache
  • Schema
  • SchemaColumn
  • Statement
  • Table
Interfaces
  • ActiveRecordCache
  • Driver
  • Exception
Traits
  • CreatedAtProperty
  • DateProperty
  • DateTimeProperty
  • FinishAtProperty
  • FinishedAtProperty
  • StartAtProperty
  • StartedAtProperty
  • UpdatedAtProperty
Exceptions
  • ActiveRecordClassNotValid
  • ConnectionAlreadyEstablished
  • ConnectionNotDefined
  • ConnectionNotEstablished
  • DriverNotDefined
  • ModelAlreadyInstantiated
  • ModelNotDefined
  • RecordNotFound
  • ScopeNotDefined
  • StatementInvocationFailed
  • StatementNotValid
  • UnableToSetFetchMode

Class RuntimeActiveRecordCache

Cache records during run time.

ICanBoogie\ActiveRecord\ActiveRecordCacheBase implements ICanBoogie\ActiveRecord\ActiveRecordCache
┗ ICanBoogie\ActiveRecord\RuntimeActiveRecordCache implements IteratorAggregate
Namespace: ICanBoogie\ActiveRecord
Located at ActiveRecord/RuntimeActiveRecordCache.php

Methods summary

public store( ICanBoogie\ActiveRecord $record )

Parameters

$record

Inheritdoc

public retrieve( integer $key ) : ICanBoogie\ActiveRecord|null

Parameters

$key

Returns

ICanBoogie\ActiveRecord|null

Inheritdoc

public eliminate( integer $key )

Parameters

$key

Inheritdoc

public clear( void )

Inheritdoc

public getIterator( void )

Inheritdoc

Implementation of

IteratorAggregate::getIterator()

Methods inherited from ICanBoogie\ActiveRecord\ActiveRecordCacheBase

__construct()

Properties summary

protected $records : ICanBoogie\ActiveRecord[]

Cached records.

Cached records.

[]

Properties inherited from ICanBoogie\ActiveRecord\ActiveRecordCacheBase

$model

ActiveRecord master – Check on GitHub – API documentation generated by ApiGen