UsageTracker
class UsageTracker implements TrackerInterface (View source)
Properties
private EntityManager | $manager | ||
private EntityRepository | $repository |
Methods
__construct(EntityManager $manager)
No description
track(TrackableInterface $trackable)
Track a trackable object Any object could be passed to this method so long as it implements TrackableInterface
forget(TrackableInterface $trackable)
Forget a trackable object Any object could be passed to this method so long as it implements TrackableInterface
persist($stack_id, $collection_id, $collection_version_id, $block_id)
No description
Details
__construct(EntityManager $manager)
No description
TrackerInterface|TrackerInterface
track(TrackableInterface $trackable)
Track a trackable object Any object could be passed to this method so long as it implements TrackableInterface
TrackerInterface|TrackerInterface
forget(TrackableInterface $trackable)
Forget a trackable object Any object could be passed to this method so long as it implements TrackableInterface
private
trackCollection(Collection $collection)
Track a collection object
private
forgetCollection(Collection $collection)
Forget about a collection object
private
trackBlocks(Collection $collection, array $blocks)
Track a list of blocks for a collection
private
persist($stack_id, $collection_id, $collection_version_id, $block_id)
No description