Files
oficial/app/src/Service/Contabilidad.php
2024-07-17 22:33:33 -04:00

21 lines
531 B
PHP

<?php
namespace Incoviba\Service;
use DateTimeInterface;
use Psr\Log\LoggerInterface;
use Incoviba\Common\Ideal;
class Contabilidad extends Ideal\Controller
{
public function __construct(LoggerInterface $logger,
protected Contabilidad\Informe\Tesoreria $tesoreriaService)
{
parent::__construct($logger);
}
public function tesoreria(DateTimeInterface $fecha): array
{
return $this->tesoreriaService->getOutput()->build($fecha);
}
}