AggregateTracker
final class AggregateTracker implements TrackerManagerInterface, ApplicationAwareInterface (View source)
Class PolyTracker
A tracker that employes \Illuminate\Support\Manager
to keep track of a list of Trackers.
When ::track
is called, PolyTracker
forwards the call to each of its drivers.
Traits
Trait ApplicationAwareTrait A trait used with ApplicationAwareInterface
Properties
protected Application | $app | from ApplicationAwareTrait | |
protected TrackerInterface[] | $trackers | ||
protected callable[] | $creators | ||
protected string[] | $map |
Methods
Track a trackable object Any object could be passed to this method so long as it implements TrackableInterface
Forget a trackable object Any object could be passed to this method so long as it implements TrackableInterface
Register a custom tracker creator Closure.
Get a tracker by handle
No description
Details
setApplication(Application $app)
Setter method for the application
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
TrackerManagerInterface
addTracker(string $tracker, callable $creator)
Register a custom tracker creator Closure.
TrackerInterface
tracker($tracker)
Get a tracker by handle
private Generator|TrackerInterface[]
getTrackerGenerator()
No description