Fatal error: Uncaught Error: Call to undefined method App\OfficeBrain\Bundle\CoreBundle\Service\OBCommon::getRepository() in /var/www/html/src/OfficeBrain/Bundle/ProductBundle/Manager/Extended/ProductApiExtended.php:31
Stack trace:
#0 /var/www/html/src/project/OfficeBrain/CustomBundle/ProductBundle/Manager/Extended/ProductApiExtended.php(36): App\OfficeBrain\Bundle\ProductBundle\Manager\Extended\ProductApiExtended->__construct(Object(Symfony\Component\HttpFoundation\RequestStack), Object(App\OfficeBrain\Bundle\ProductBundle\ApiClient\ProductApiClient), Object(ContainerXE09qRF\App_KernelDevContainer), Object(App\OfficeBrain\Bundle\CoreBundle\Service\OBCommon), Object(ContainerXE09qRF\OwnCustomEntityManagerGhost3e43b25), Object(App\OfficeBrain\Bundle\SearchBundle\Manager\Service\SearchManager), Object(App\project\OfficeBrain\CustomBundle\ProductBundle\ApiClient\ProductApiClient))
#1 /var/www/html/src/project/OfficeBrain/CustomBundle/ProductBundle/Manager/Service/ProductDetailService.php(40): App\project\OfficeBrain\CustomBundle\ProductBundle\Manager\Extended\ProductApiExtended->__construct(Object(Symfony\Component\HttpFoundation\RequestStack), Object(App\OfficeBrain\Bundle\ProductBundle\ApiClient\ProductApiClient), Object(ContainerXE09qRF\App_KernelDevContainer), Object(App\OfficeBrain\Bundle\CoreBundle\Service\OBCommon), Object(ContainerXE09qRF\OwnCustomEntityManagerGhost3e43b25), Object(App\OfficeBrain\Bundle\SearchBundle\Manager\Service\SearchManager), Object(App\project\OfficeBrain\CustomBundle\ProductBundle\ApiClient\ProductApiClient), Object(ContainerXE09qRF\PaginatorProxyDb272ae))
#2 /var/www/html/var/cache/dev/ContainerXE09qRF/App_KernelDevContainer.php(8202): App\project\OfficeBrain\CustomBundle\ProductBundle\Manager\Service\ProductDetailService->__construct(Object(Symfony\Component\HttpFoundation\RequestStack), Object(App\OfficeBrain\Bundle\ProductBundle\ApiClient\ProductApiClient), Object(ContainerXE09qRF\App_KernelDevContainer), Object(ContainerXE09qRF\OwnCustomEntityManagerGhost3e43b25), Object(App\OfficeBrain\Bundle\SearchBundle\Manager\Service\SearchManager), Object(App\project\OfficeBrain\CustomBundle\ProductBundle\ApiClient\ProductApiClient), Object(ContainerXE09qRF\PaginatorProxyDb272ae), Object(Symfony\Bundle\FrameworkBundle\Routing\Router), Object(Symfony\Component\Validator\Validator\TraceableValidator), Object(App\OfficeBrain\Bundle\CoreBundle\Service\OBCommon))
#3 /var/www/html/var/cache/dev/ContainerXE09qRF/App_KernelDevContainer.php(2531): ContainerXE09qRF\App_KernelDevContainer::getProductDetailServiceService(Object(ContainerXE09qRF\App_KernelDevContainer))
#4 /var/www/html/vendor/symfony/dependency-injection/Container.php(231): ContainerXE09qRF\App_KernelDevContainer::getProductController2Service(Object(ContainerXE09qRF\App_KernelDevContainer))
#5 /var/www/html/vendor/symfony/dependency-injection/Container.php(211): Symfony\Component\DependencyInjection\Container::make(Object(ContainerXE09qRF\App_KernelDevContainer), 'App\\project\\Off...', 1)
#6 /var/www/html/vendor/symfony/http-kernel/Controller/ContainerControllerResolver.php(40): Symfony\Component\DependencyInjection\Container->get('App\\project\\Off...')
#7 /var/www/html/vendor/symfony/framework-bundle/Controller/ControllerResolver.php(26): Symfony\Component\HttpKernel\Controller\ContainerControllerResolver->instantiateController('App\\project\\Off...')
#8 /var/www/html/vendor/symfony/http-kernel/Controller/ControllerResolver.php(128): Symfony\Bundle\FrameworkBundle\Controller\ControllerResolver->instantiateController('App\\project\\Off...')
#9 /var/www/html/vendor/symfony/http-kernel/Controller/ControllerResolver.php(96): Symfony\Component\HttpKernel\Controller\ControllerResolver->createController('App\\project\\Off...')
#10 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(164): Symfony\Component\HttpKernel\Controller\ControllerResolver->getController(Object(Symfony\Component\HttpFoundation\Request))
#11 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#12 /var/www/html/vendor/symfony/http-kernel/Kernel.php(197): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#13 /var/www/html/public/index.php(25): Symfony\Component\HttpKernel\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#14 {main}
thrown in /var/www/html/src/OfficeBrain/Bundle/ProductBundle/Manager/Extended/ProductApiExtended.php on line 31