summaryrefslogtreecommitdiff
path: root/ext/pdo_sqlite/sqlite_driver.stub.php
blob: fc827cd381c1f85c5f35ce4a2e17df427103e9ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php

/** @generate-function-entries */

// These are extension methods for PDO. This is not a real class.
class PDO_SQLite_Ext {
    /** @return bool */
    public function sqliteCreateFunction(string $name, callable $callback, int $numArgs = -1, int $flags = 0) {}

    /** @return bool */
    public function sqliteCreateAggregate(string $name, callable $step, callable $finalize, int $numArgs = -1) {}

    /** @return bool */
    public function sqliteCreateCollation(string $name, callable $callback) {}
}