8
0
Fork 0

add shorthand function to get DI handler

Dieser Commit ist enthalten in:
Daniel Seifert 2023-01-03 10:47:33 +01:00
Ursprung e0c5dff74f
Commit bbadaa1300
Signiert von: DanielS
GPG-Schlüssel-ID: 8A7C4C6ED1915C6F
2 geänderte Dateien mit 29 neuen und 1 gelöschten Zeilen

25
autoload/functions_oxDIC.php Normale Datei
Datei anzeigen

@ -0,0 +1,25 @@
<?php
/**
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* https://www.d3data.de
*
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
* @author D3 Data Development - Daniel Seifert <support@shopmodule.com>
* @link https://www.oxidmodule.com
*/
declare(strict_types=1);
use D3\DIContainerHandler\d3DicHandler;
use Symfony\Component\DependencyInjection\ContainerBuilder;
/**
* @return ContainerBuilder
*/
function d3GetOxidDIC(): ContainerBuilder
{
return d3DicHandler::getInstance();
}

Datei anzeigen

@ -27,6 +27,9 @@
"autoload": {
"psr-4": {
"D3\\DIContainerHandler\\": "./"
}
},
"files": [
"autoload/functions_oxDIC.php"
]
}
}