/** * Fired after a page type is created. * * @param EntryInterface|TypeInterface $entry */ public function created(EntryInterface $entry) { $this->commands->dispatch(new CreateStream($entry)); parent::created($entry); }
/** * Fired after a user is created. * * @param EntryInterface $entry */ public function created(EntryInterface $entry) { $this->events->fire(new UserWasCreated($entry)); parent::created($entry); }