Свойство | Тип | Описание | |
---|---|---|---|
$cacheManager | WellCommerce\Component\DataSet\Cache\DataSetCacheManagerInterface | ||
$options | array | ||
$propertyAccessor |
Метод | Описание | |
---|---|---|
__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, |
Метод | Описание | |
---|---|---|
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 ( ) : |
||
Результат |
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 | ||
Результат | WellCommerce\Component\DataSet\Transformer\ColumnTransformerCollection |
protected transformResult ( array $result ) : array | ||
$result | array | |
Результат | array |
protected transformRow ( array $row, WellCommerce\Component\DataSet\Transformer\ColumnTransformerCollection $transformers ) : array | ||
$row | array | |
$transformers | WellCommerce\Component\DataSet\Transformer\ColumnTransformerCollection | |
Результат | array |
protected DataSetCacheManagerInterface,WellCommerce\Component\DataSet\Cache $cacheManager | ||
Результат | WellCommerce\Component\DataSet\Cache\DataSetCacheManagerInterface |