Added plugins and build tools

This commit is contained in:
2021-12-09 00:58:28 +01:00
parent a0d68a606c
commit eefe53a438
46 changed files with 4049 additions and 1 deletions

View File

@ -0,0 +1,16 @@
<?php // "name":"Access databases through PDO", "author":"Noccy"
namespace SparkPlug\Com\Noccy\Pdo;
use SparkPlug;
class PdoPlugin extends SparkPlug {
public function load()
{
register_command(new PdoQueryCommand());
register_command(new PdoExecCommand());
}
}
register_plugin("com.noccy.pdo", new PdoPlugin);
register_resource_type("pdo", PdoResource::class);