Пример #1
0
 /**
  * @param PostWasCreated $event
  */
 protected function applyPostWasCreated(PostWasCreated $event)
 {
     $this->title = $event->title();
     $this->content = $event->content();
 }