Create JCB.File.Factory code
This commit is contained in:
parent
f88517016c
commit
362d5822a9
15
src/884eca78-281f-4eab-b962-d97e355af16d/code.power
Normal file
15
src/884eca78-281f-4eab-b962-d97e355af16d/code.power
Normal file
@ -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());
|
||||
}
|
Loading…
Reference in New Issue
Block a user