for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace BrainExe\Core\Cron;
use BrainExe\Core\Annotations\Service;
/**
* @Service(tags={{"name"="cron"}})
*/
class DefaultCrons implements CronDefinition
{
private const MINUTE = 'minute';
private const HOURLY = 'hourly';
private const DAILY = 'daily';
* @return string[]
public static function getCrons()
return [
self::MINUTE => '* * * * *',
self::HOURLY => '@hourly',
self::DAILY => '@daily',
];
}