connection = NULL; } public function isConnected() { return false; } /** * * @param string $sql * @return \Phacil\Framework\Databases\Object\ResultInterface|true */ public function query($sql) { $result = new \Phacil\Framework\Databases\Object\Result(); $result->num_rows = NULL; $result->row = NULL; $result->rows = NULL; return $result; } public function escape($value) { return NULL; } public function countAffected() { return NULL; } public function getLastId() { return NULL; } public function __destruct() { return NULL; } /** * Execute a prepared statement with parameters * * @param string $sql SQL query with named placeholders * @param array $params Associative array of parameters * @return null * @throws \Phacil\Framework\Exception */ public function execute($sql, array $params = []) { return [null]; } }