Exemplo n.º 1
0
 /**
  * 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);
 }
Exemplo n.º 2
0
 /**
  * Fired after a user is created.
  *
  * @param EntryInterface $entry
  */
 public function created(EntryInterface $entry)
 {
     $this->events->fire(new UserWasCreated($entry));
     parent::created($entry);
 }