interface TrackerManagerInterface implements TrackerInterface (View source)

Methods

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

addTracker(string $tracker, callable $creator)

Register a custom tracker creator callable.

Details

TrackerInterface|TrackerInterface track(TrackableInterface $trackable)

Track a trackable object Any object could be passed to this method so long as it implements TrackableInterface

Parameters

TrackableInterface $trackable

Return Value

TrackerInterface|TrackerInterface

TrackerInterface|TrackerInterface forget(TrackableInterface $trackable)

Forget a trackable object Any object could be passed to this method so long as it implements TrackableInterface

Parameters

TrackableInterface $trackable

Return Value

TrackerInterface|TrackerInterface

TrackerManagerInterface addTracker(string $tracker, callable $creator)

Register a custom tracker creator callable.

Parameters

string $tracker The handle of the tracker
callable $creator The callable responsible for returning the new tracker instance

Return Value

TrackerManagerInterface