Свойство | Type | Description | |
---|---|---|---|
$cacheManager | WellCommerce\Component\DataSet\Cache\DataSetCacheManagerInterface | ||
$options | array | ||
$propertyAccessor |
Méthode | 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, |
Méthode | 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 ( ) : |
||
Résultat |
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 | ||
Résultat | WellCommerce\Component\DataSet\Transformer\ColumnTransformerCollection |
protected transformResult ( array $result ) : array | ||
$result | array | |
Résultat | array |
protected transformRow ( array $row, WellCommerce\Component\DataSet\Transformer\ColumnTransformerCollection $transformers ) : array | ||
$row | array | |
$transformers | WellCommerce\Component\DataSet\Transformer\ColumnTransformerCollection | |
Résultat | array |
protected DataSetCacheManagerInterface,WellCommerce\Component\DataSet\Cache $cacheManager | ||
Résultat | WellCommerce\Component\DataSet\Cache\DataSetCacheManagerInterface |