ICanBoogie
  • Documentation
  • API Reference
  • ActiveRecord 4.0.x
Namespaces
  • ICanBoogie
    • ActiveRecord
      • ActiveRecordCache
      • Driver
      • Property
      • Validate
        • Reader
        • Validator
        • ValidatorProvider
Classes
  • BelongsToRelation
  • Connection
  • ConnectionCollection
  • ConnectionOptions
  • HasManyRelation
  • Model
  • ModelCollection
  • ModelProvider
  • Query
  • Relation
  • RelationCollection
  • RelationNotDefined
  • Schema
  • SchemaColumn
  • Statement
  • Table
Interfaces
  • ActiveRecordCache
  • Driver
  • Exception
Exceptions
  • ActiveRecordClassNotValid
  • ConnectionAlreadyEstablished
  • ConnectionNotDefined
  • ConnectionNotEstablished
  • DriverNotDefined
  • ModelAlreadyInstantiated
  • ModelNotDefined
  • RecordNotFound
  • RecordNotValid
  • ScopeNotDefined
  • StatementInvocationFailed
  • StatementNotValid
  • UnableToSetFetchMode

Interface ActiveRecordCache

Interface for ActiveRecord cache.

Direct known implementers

ICanBoogie\ActiveRecord\ActiveRecordCache\AbstractActiveRecordCache

Indirect known implementers

ICanBoogie\ActiveRecord\ActiveRecordCache\RuntimeActiveRecordCache

Namespace: ICanBoogie\ActiveRecord
Located at ActiveRecord/ActiveRecordCache.php

Methods summary

public store( ICanBoogie\ActiveRecord $record )

Stores an ICanBoogie\ActiveRecord instance in the cache.

Stores an ICanBoogie\ActiveRecord instance in the cache.

Parameters

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

Retrieves an ICanBoogie\ActiveRecord instance from the cache.

Retrieves an ICanBoogie\ActiveRecord instance from the cache.

Parameters

$key

Returns

ICanBoogie\ActiveRecord|null
public eliminate( integer $key )

Eliminates an ICanBoogie\ActiveRecord instance from the cache.

Eliminates an ICanBoogie\ActiveRecord instance from the cache.

Parameters

$key
public clear( void )

Clears the cache.

Clears the cache.

ActiveRecord 4.0.x – Check on GitHub – API documentation generated by ApiGen