Author: Adam Piotrowski (adam@wellcommerce.org)
Ejemplo n.º 1
0
 protected function getQueryBuilder(DataSetRequestInterface $request) : QueryBuilder
 {
     $dataSetQueryBuilder = $this->manager->createQueryBuilder($this->repository);
     return $dataSetQueryBuilder->getQueryBuilder($this->columns, $request);
 }
Ejemplo n.º 2
0
 /**
  * Creates a dataset's transformer using factory
  *
  * @param       $type
  * @param array $options
  *
  * @return \WellCommerce\Component\DataSet\Transformer\DataSetTransformerInterface
  */
 protected function getDataSetTransformer($type, array $options = [])
 {
     return $this->manager->createTransformer($type, $options);
 }