On Tue, Mar 10, 2020 at 12:36 PM Côme Chilliet <
come.chill...@fusiondirectory.org> wrote:

> Hello,
>
> I know I’m late, but shouldn't these tokens have a __toString() method?
> It’s not listed in rejected features.
>

Would __toString() return $token->text? I'm not strictly opposed to this,
but I'd be hard pressed to think of a situation where I would prefer
writing (string) $token over $token->text. Generally, the less magic the
better :)

Nikita

Reply via email to