Warning: Undefined variable $namespace in C:\laragon\httpdocs\_cosendi\vendor\symfony\maker-bundle\src\Resources\skeleton\scheduler\Schedule.tpl.php on line 3
;
Warning: Undefined variable $use_statements in C:\laragon\httpdocs\_cosendi\vendor\symfony\maker-bundle\src\Resources\skeleton\scheduler\Schedule.tpl.php on line 5
#[AsSchedule
Warning: Undefined variable $has_transport_name in C:\laragon\httpdocs\_cosendi\vendor\symfony\maker-bundle\src\Resources\skeleton\scheduler\Schedule.tpl.php on line 7
]
final class
Warning: Undefined variable $class_name in C:\laragon\httpdocs\_cosendi\vendor\symfony\maker-bundle\src\Resources\skeleton\scheduler\Schedule.tpl.php on line 8
implements ScheduleProviderInterface
{
public function __construct(
private CacheInterface $cache,
) {
}
public function getSchedule(): Schedule
{
return (new Schedule())
->add(
Warning: Undefined variable $has_custom_message in C:\laragon\httpdocs\_cosendi\vendor\symfony\maker-bundle\src\Resources\skeleton\scheduler\Schedule.tpl.php on line 19
// @TODO - Create a Message to schedule
// RecurringMessage::every('1 hour', new App\Message\Message()),
)
->stateful($this->cache)
;
}
}