mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-27 07:00:29 +01:00
25 lines
397 B
PHP
25 lines
397 B
PHP
|
<?php
|
||
|
|
||
|
namespace Xentral\Components\Barcode;
|
||
|
|
||
|
final class Bootstrap
|
||
|
{
|
||
|
/**
|
||
|
* @return array
|
||
|
*/
|
||
|
public static function registerServices()
|
||
|
{
|
||
|
return [
|
||
|
'BarcodeFactory' => 'onInitBarcodeFactory',
|
||
|
];
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* @return BarcodeFactory
|
||
|
*/
|
||
|
public static function onInitBarcodeFactory()
|
||
|
{
|
||
|
return new BarcodeFactory();
|
||
|
}
|
||
|
}
|