search_core/Classes/Bootstrap.php

17 lines
No EOL
323 B
PHP

<?php
namespace Codappix\SearchCore;
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\CMS\Extbase\Object\ObjectManager;
class Bootstrap
{
/**
* @return object|ObjectManager
*/
public static function getObjectManager()
{
return GeneralUtility::makeInstance(ObjectManager::class);
}
}