public __construct ( |
||
$command | the command generating the query result | |
$config | array | name-value pairs that will be used to initialize the object properties |
public function __construct(Command $command, $config = [])
{
$this->_statement = $command->pdoStatement;
$this->_statement->setFetchMode(\PDO::FETCH_ASSOC);
parent::__construct($config);
}