2022-08-08 22:36:04 -04:00
|
|
|
<?php
|
|
|
|
namespace Common\Controller;
|
|
|
|
|
2022-12-20 14:13:05 -03:00
|
|
|
use Psr\Container\ContainerInterface;
|
|
|
|
use ProVM\Alias\API\Controller;
|
2022-08-08 22:36:04 -04:00
|
|
|
use Contabilidad\Repository\Cuenta;
|
|
|
|
|
2022-12-20 14:13:05 -03:00
|
|
|
class Cuentas extends Controller
|
2022-08-08 22:36:04 -04:00
|
|
|
{
|
2022-12-20 14:13:05 -03:00
|
|
|
public function setup(ContainerInterface $container): void
|
2022-08-08 22:36:04 -04:00
|
|
|
{
|
2022-12-20 14:13:05 -03:00
|
|
|
$this->setSingular('cuenta')
|
|
|
|
->setPlural('cuentas')
|
|
|
|
->setRepository($container->get(Cuenta::class));
|
2022-08-08 22:36:04 -04:00
|
|
|
}
|
|
|
|
}
|