public function onUpdateContent(OW_Event $event) { $params = $event->getParams(); if (empty($params['id'])) { return; } $this->photoService->updateFeedEntity($params['id']); }