Property | Type | Description | |
---|---|---|---|
$cacheManager | WellCommerce\Component\DataSet\Cache\DataSetCacheManagerInterface | ||
$options | array | ||
$propertyAccessor |
Method | Description | |
---|---|---|
__construct ( WellCommerce\Component\DataSet\Cache\DataSetCacheManagerInterface $cacheManager ) | AbstractDataSetContext constructor. | |
configure ( array $options = [] ) | ||
configureOptions ( Symfony\Component\OptionsResolver\OptionsResolver $resolver ) | ||
getResult ( Doctrine\ORM\QueryBuilder $builder, WellCommerce\Component\DataSet\Request\DataSetRequestInterface $request, WellCommerce\Component\DataSet\Column\ColumnCollection $columns, |
Method | Description | |
---|---|---|
getPropertyAccessor ( ) : |
||
getTransformers ( ) : WellCommerce\Component\DataSet\Transformer\ColumnTransformerCollection | ||
transformResult ( array $result ) : array | Transforms the results using additional data transformers | |
transformRow ( array $row, WellCommerce\Component\DataSet\Transformer\ColumnTransformerCollection $transformers ) : array | Processes the row data |
public __construct ( WellCommerce\Component\DataSet\Cache\DataSetCacheManagerInterface $cacheManager ) | ||
$cacheManager | WellCommerce\Component\DataSet\Cache\DataSetCacheManagerInterface |
public configureOptions ( Symfony\Component\OptionsResolver\OptionsResolver $resolver ) | ||
$resolver | Symfony\Component\OptionsResolver\OptionsResolver |
protected getPropertyAccessor ( ) : |
||
return |
public getResult ( Doctrine\ORM\QueryBuilder $builder, WellCommerce\Component\DataSet\Request\DataSetRequestInterface $request, WellCommerce\Component\DataSet\Column\ColumnCollection $columns, |
||
$builder | Doctrine\ORM\QueryBuilder | |
$request | WellCommerce\Component\DataSet\Request\DataSetRequestInterface | |
$columns | WellCommerce\Component\DataSet\Column\ColumnCollection | |
$cache |
protected getTransformers ( ) : WellCommerce\Component\DataSet\Transformer\ColumnTransformerCollection | ||
return | WellCommerce\Component\DataSet\Transformer\ColumnTransformerCollection |
protected transformResult ( array $result ) : array | ||
$result | array | |
return | array |
protected transformRow ( array $row, WellCommerce\Component\DataSet\Transformer\ColumnTransformerCollection $transformers ) : array | ||
$row | array | |
$transformers | WellCommerce\Component\DataSet\Transformer\ColumnTransformerCollection | |
return | array |
protected DataSetCacheManagerInterface,WellCommerce\Component\DataSet\Cache $cacheManager | ||
return | WellCommerce\Component\DataSet\Cache\DataSetCacheManagerInterface |