From 362d5822a9b66bdd92a8bdff4fc9654d478be0c5 Mon Sep 17 00:00:00 2001 From: Llewellyn Date: Wed, 11 Sep 2024 02:39:25 +0000 Subject: [PATCH] Create JCB.File.Factory code --- .../code.power | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/884eca78-281f-4eab-b962-d97e355af16d/code.power diff --git a/src/884eca78-281f-4eab-b962-d97e355af16d/code.power b/src/884eca78-281f-4eab-b962-d97e355af16d/code.power new file mode 100644 index 0000000..7f08cac --- /dev/null +++ b/src/884eca78-281f-4eab-b962-d97e355af16d/code.power @@ -0,0 +1,15 @@ + /** + * Create a container object + * + * @return Container + * @since 3.2.2 + */ + protected static function createContainer(): Container + { + return (new Container()) + ->registerServiceProvider(new Table()) + ->registerServiceProvider(new Database()) + ->registerServiceProvider(new Model()) + ->registerServiceProvider(new Data()) + ->registerServiceProvider(new File()); + } \ No newline at end of file