Yes, sorry. You're right, I totally forgot the usage. It's been a long day.


On Monday, August 20, 2018 at 9:04:37 PM UTC+5, Woody Gilk wrote:
>
> On Mon, Aug 20, 2018 at 10:38 AM <[email protected] <javascript:>> 
> wrote: 
> > 
> > To use `::class`, the event object must have already been created. 
>
> That is incorrect, the following is entirely valid: 
>
> use Acme\Domain\User\UserUpdatedEvent; 
>
> $class = UpdatedEvent::Class; 
>
> -- 
> Woody Gilk 
> https://shadowhand.me 
>

-- 
You received this message because you are subscribed to the Google Groups "PHP 
Framework Interoperability Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/php-fig/fc91035e-76c0-4605-af0f-95c253ec5613%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to