public __construct ( |
||
$kind_schema | ||
$obj_gateway |
public function __construct($kind_schema = null, Gateway $obj_gateway = null)
{
$this->obj_schema = $this->determineSchema($kind_schema);
$this->obj_gateway = null === $obj_gateway ? new \GDS\Gateway\ProtoBuf() : $obj_gateway;
$this->str_last_query = 'SELECT * FROM `' . $this->obj_schema->getKind() . '` ORDER BY __key__ ASC';
}