feature/cierres #25

Open
aldarien wants to merge 446 commits from feature/cierres into develop
101 changed files with 410 additions and 2886 deletions
Showing only changes of commit 348bb18654 - Show all commits

View File

@ -6,12 +6,13 @@ use Psr\Log\LoggerInterface;
abstract class LoggerEnabled implements LoggerAwareInterface
{
public LoggerInterface $logger {
get {
return $this->logger;
}
set(LoggerInterface $value) {
$this->logger = $value;
}
public LoggerInterface $logger;
public function setLogger(LoggerInterface $logger): void
{
$this->logger = $logger;
}
public function getLogger(): LoggerInterface
{
return $this->logger;
}
}

View File

@ -129,7 +129,7 @@ return [
$container->get('TokuClient'),
$container->get(Incoviba\Repository\Venta\MediosPago\Toku\Customer::class)
);
$service->logger = $container->get('externalLogger');
$service->setLogger($container->get('externalLogger'));
return $service;
},
Incoviba\Service\Venta\MediosPago\Toku\Subscription::class => function(ContainerInterface $container) {
@ -138,7 +138,7 @@ return [
$container->get(Incoviba\Repository\Venta\MediosPago\Toku\Subscription::class),
$container->get(Incoviba\Service\Venta::class)
);
$service->logger = $container->get('externalLogger');
$service->setLogger($container->get('externalLogger'));
return $service;
},
Incoviba\Service\Venta\MediosPago\Toku\Invoice::class => function(ContainerInterface $container) {
@ -148,7 +148,7 @@ return [
$container->get(Incoviba\Service\Venta\Pago::class),
$container->get(Incoviba\Service\UF::class)
);
$service->logger = $container->get('externalLogger');
$service->setLogger($container->get('externalLogger'));
$service->setAltLogger($container->get('jsonLogger'));
return $service;
},