connection = NULL; } /** {@inheritdoc} */ public function isConnected() { return false; } /** * {@inheritdoc} */ public function query($sql) { /** @var \Phacil\Framework\Databases\Api\Object\ResultInterface */ $result = \Phacil\Framework\Registry::getInstance()->create(\Phacil\Framework\Databases\Api\Object\ResultInterface::class, [[]]); $result->setNumRows(0); return $result; } /** {@inheritdoc} */ public function escape($value) { return NULL; } /** {@inheritdoc} */ public function countAffected() { return NULL; } /** {@inheritdoc} */ public function getLastId() { return NULL; } /** * {@inheritdoc} */ public function execute($sql, array $params = []) { return $this->query($sql); } }