<?phpnamespace AdminBundle\Controller;use AdminBundle\Services\BaseService;use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;class BaseController extends AbstractController { protected $base; public function __construct(BaseService $base) { $this->base = $base; } protected function get($service):object { return $this->base->get($service); }}