FeedObserver
in package
Class FeedObserver.
Table of Contents
Properties
Methods
- __construct() : mixed
- created() : void
- Handle the ActivityFeed "created" event.
- deleted() : void
- Handle the ActivityFeed "deleted" event.
- updated() : void
- Handle the ActivityFeed "updated" event.
- disableItemSponsorInFeed() : void
Properties
$repository
protected
FeedRepositoryInterface
$repository
Methods
__construct()
public
__construct(FeedRepositoryInterface $repository) : mixed
Parameters
- $repository : FeedRepositoryInterface
created()
Handle the ActivityFeed "created" event.
public
created(Feed $model) : void
Parameters
- $model : Feed
deleted()
Handle the ActivityFeed "deleted" event.
public
deleted(Feed $model) : void
Parameters
- $model : Feed
updated()
Handle the ActivityFeed "updated" event.
public
updated(Feed $model) : void
Parameters
- $model : Feed
disableItemSponsorInFeed()
protected
disableItemSponsorInFeed(Feed $model) : void
Parameters
- $model : Feed