mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-25 14:10:28 +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();
|
|
}
|
|
}
|