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 DummyNamespace;
use NamespacedDummyModel;
class DummyClass
{
/**
* Handle the DocDummyModel "created" event.
*
* @param \NamespacedDummyModel $dummyModel
* @return void
*/
public function created(DummyModel $dummyModel)
{
//
}
/**
* Handle the DocDummyModel "updated" event.
*
* @param \NamespacedDummyModel $dummyModel
* @return void
*/
public function updated(DummyModel $dummyModel)
{
//
}
/**
* Handle the DocDummyModel "deleted" event.
*
* @param \NamespacedDummyModel $dummyModel
* @return void
*/
public function deleted(DummyModel $dummyModel)
{
//
}
/**
* Handle the DocDummyModel "restored" event.
*
* @param \NamespacedDummyModel $dummyModel
* @return void
*/
public function restored(DummyModel $dummyModel)
{
//
}
/**
* Handle the DocDummyModel "force deleted" event.
*
* @param \NamespacedDummyModel $dummyModel
* @return void
*/
public function forceDeleted(DummyModel $dummyModel)
{
//
}
}