From fa15a7acfd3f54289581f935c01fd729a17e2842 Mon Sep 17 00:00:00 2001 From: Alexandre Daubois Date: Tue, 16 Jan 2024 13:44:27 +0100 Subject: [PATCH] [Scheduler] Emphasize `__toString()` --- scheduler.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scheduler.rst b/scheduler.rst index 16728b9e636..9b3d46784f6 100644 --- a/scheduler.rst +++ b/scheduler.rst @@ -189,6 +189,8 @@ For example, if you want to send customer reports daily except for holiday perio public function __toString(): string { + // give a nice displayable name to your trigger + // to ease debugging return $this->inner.' (except holidays)'; }