<?php

declare(strict_types=1);

namespace App\Controller\TblTipoNoticiaGenfar;

use App\Service\TblTipoNoticiaGenfarService;
use Pimple\Psr11\Container;

abstract class Base
{
    protected Container $container;

    public function __construct(Container $container)
    {
        $this->container = $container;
    }

    protected function getTblTipoNoticiaGenfarService(): TblTipoNoticiaGenfarService
    {
        return $this->container->get('TblTipoNoticiaGenfar_service');
    }
}
