diff options
Diffstat (limited to 'ext/pdo_sqlite/sqlite_driver.stub.php')
| -rw-r--r-- | ext/pdo_sqlite/sqlite_driver.stub.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ext/pdo_sqlite/sqlite_driver.stub.php b/ext/pdo_sqlite/sqlite_driver.stub.php new file mode 100644 index 0000000000..eafd3c0c48 --- /dev/null +++ b/ext/pdo_sqlite/sqlite_driver.stub.php @@ -0,0 +1,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 $function_name, callable $callback, int $num_args = -1, int $flags = 0) {} + + /** @return bool */ + public function sqliteCreateAggregate(string $function_name, callable $step_func, callable $finalize_func, int $num_args = -1) {} + + /** @return bool */ + public function sqliteCreateCollation(string $name, callable $callback) {} +} |
