add shorthand function to get DI handler

Cette révision appartient à :
Daniel Seifert 2023-01-03 10:47:33 +01:00
Parent e0c5dff74f
révision bbadaa1300
Signé par: DanielS
ID de la clé GPG: 8A7C4C6ED1915C6F
2 fichiers modifiés avec 29 ajouts et 1 suppressions

25
autoload/functions_oxDIC.php Fichier normal
Voir le fichier

@ -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();
}

Voir le fichier

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