| 1 | <?php  | 
            ||
| 14 | class DataCollectionFactory  | 
            ||
| 15 | { | 
            ||
| 16 | /** @var FilterInterface */  | 
            ||
| 17 | protected $filterHelper;  | 
            ||
| 18 | |||
| 19 | /** @var string */  | 
            ||
| 20 | protected $collectionClass;  | 
            ||
| 21 | |||
| 22 | /**  | 
            ||
| 23 | * DataCollectionFactory constructor.  | 
            ||
| 24 | *  | 
            ||
| 25 | * @param FilterInterface $filterHelper  | 
            ||
| 26 | * @param string $collectionClass  | 
            ||
| 27 | */  | 
            ||
| 28 | 6 | public function __construct(FilterInterface $filterHelper, $collectionClass)  | 
            |
| 33 | |||
| 34 | /**  | 
            ||
| 35 | * @param $data  | 
            ||
| 36 | *  | 
            ||
| 37 | * @return DataCollectionInterface  | 
            ||
| 38 | */  | 
            ||
| 39 | 6 | public function create($data)  | 
            |
| 45 | }  | 
            ||
| 46 |