TableManager
extends Component
in package
Tags
Table of Contents
Properties
- $hashCode : int
- $hashCounter : int
- $instance : TableManager
- $schema : ISchema
- $tables : array<string|int, mixed>
- $tables_cache_key : string
Methods
- __call() : mixed
- __callStatic() : mixed
- __construct() : mixed
- __destruct() : mixed
- __get() : mixed
- extends() : bool
- get() : ITable
- getReflection() : ReflectionClass
- getSchema() : ISchema
- getTables() : array<string|int, mixed>
- init() : mixed
- {@inheritdoc}
- create() : ITable
- getTableCacheKey() : string
- put() : mixed
Properties
$hashCode
private
int
$hashCode
$hashCounter
private
static int
$hashCounter
= 0
$instance
private
static TableManager
$instance
$schema
private
ISchema
$schema
$tables
private
array<string|int, mixed>
$tables
= []
$tables_cache_key
private
string
$tables_cache_key
= 'tables.<dsn_name>.<schema_name>.<table_name>'
Methods
__call()
public
__call(string $method, array<string|int, mixed> $arguments) : mixed
Parameters
- $method : string
- $arguments : array<string|int, mixed>
Tags
__callStatic()
public
static __callStatic(mixed $method, array<string|int, mixed> $arguments) : mixed
Parameters
- $method : mixed
- $arguments : array<string|int, mixed>
__construct()
public
__construct(ISchema $schema) : mixed
Parameters
- $schema : ISchema
__destruct()
public
__destruct() : mixed
__get()
public
__get(string $property) : mixed
Parameters
- $property : string
extends()
public
extends(ReflectionClass $reflector) : bool
Parameters
- $reflector : ReflectionClass
Return values
boolget()
public
get(string $table_name) : ITable
Parameters
- $table_name : string
Tags
Return values
ITablegetReflection()
public
getReflection() : ReflectionClass
Return values
ReflectionClassgetSchema()
public
getSchema() : ISchema
Return values
ISchemagetTables()
public
getTables() : array<string|int, mixed>
Return values
array<string|int, mixed>init()
{@inheritdoc}
protected
init() : mixed
Tags
create()
private
create(string $table_name) : ITable
Parameters
- $table_name : string
Tags
Return values
ITablegetTableCacheKey()
private
getTableCacheKey(string $table_name) : string
Parameters
- $table_name : string
Return values
stringput()
private
put(ITable $table) : mixed
Parameters
- $table : ITable