/** * Return true if the event contains the object, e.g. the action has updated the object in the event. * * @param \Thelia\Core\Event\Content\ContentEvent $event * @return bool */ protected function eventContainsObject($event) { return $event->hasContent(); }
public function __construct(Content $content, $folderId) { $this->folderId = $folderId; parent::__construct($content); }