StatementManager
extends Component
in package
implements
ISingleton
Uses
TSingleton
FinalYes
Tags
Table of Contents
Interfaces
Properties
- $statements : array<string|int, mixed>
- $instance : ISingleton
- $hashCode : int
- $hashCounter : int
- $statement_cache_key : string
Methods
- __call() : mixed
- __callStatic() : mixed
- __construct() : mixed
- __destruct() : mixed
- __get() : mixed
- extends() : bool
- get() : string|null
- getInstance() : ISingleton
- getReflection() : ReflectionClass
- put() : string
- init() : mixed
Properties
$statements
public
array<string|int, mixed>
$statements
= []
$instance
protected
static ISingleton
$instance
$hashCode
private
int
$hashCode
$hashCounter
private
static int
$hashCounter
= 0
$statement_cache_key
private
string
$statement_cache_key
= 'statements.<statement_sha1>'
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() : mixed
__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(IStatement $statement) : string|null
Parameters
- $statement : IStatement
Return values
string|nullgetInstance()
public
static getInstance() : ISingleton
Return values
ISingletongetReflection()
public
getReflection() : ReflectionClass
Return values
ReflectionClassput()
public
put(IStatement $statement) : string
Parameters
- $statement : IStatement
Return values
string —A string representation of the satatement that was stored in this statement manager
init()
protected
init() : mixed