DataCollector Interfaces, Classes, Traits and Enums IDataCollector DataCollectorInterface. AbstractDataCollector Children of this class must store the collected data in the data property.