public function listenerHandle(IEvent $event)
    {
       $event->post->count_views++;
       $event->post->save();
       var_dump($event->post->count_views);
    }
public function listenerHandle(IEvent $event)
    {
       $event->post->count_views++;
       $event->post->save();
       var_dump($event->post->count_views);
    }
public function listenerHandle ( IEvent $ event ) { $ event -> post -> count_views ++ ; $ event -> post -> save ( ) ; var_dump ( $ event -> post -> count_views ) ; }
Update the post view count

@param IEvent $event
@return void
Update the post view count