Izveidot aplikāciju, kura ik pēc noteikta intervāla (60 sekundes) veic ierakstu datubāzē izmantojot Laravel freimworka iebūvēto funkcionalitāti.
<?php
namespace Symfony\Component\Translation\Tests\DependencyInjection\fixtures;
use Psr\Container\ContainerInterface;
use Symfony\Contracts\Service\ServiceSubscriberInterface;
use Symfony\Contracts\Translation\TranslatorInterface;
class ServiceSubscriber implements ServiceSubscriberInterface
{
public function __construct(ContainerInterface $container)
{
}
public static function getSubscribedServices()
{
return ['translator' => TranslatorInterface::class];
}
}