PHP 클래스 WellCommerce\Component\DataSet\Context\AbstractDataSetContext

저자: Adam Piotrowski ([email protected])
상속: implements WellCommerce\Component\DataSet\Context\DataSetContextInterface
파일 보기 프로젝트 열기: wellcommerce/wellcommerce 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$cacheManager WellCommerce\Component\DataSet\Cache\DataSetCacheManagerInterface
$options array
$propertyAccessor Symfony\Component\PropertyAccess\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, CacheOptions $cache )

보호된 메소드들

메소드 설명
getPropertyAccessor ( ) : PropertyAccessor
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

메소드 상세

__construct() 공개 메소드

AbstractDataSetContext constructor.
public __construct ( WellCommerce\Component\DataSet\Cache\DataSetCacheManagerInterface $cacheManager )
$cacheManager WellCommerce\Component\DataSet\Cache\DataSetCacheManagerInterface

configure() 공개 메소드

public configure ( array $options = [] )
$options array

configureOptions() 공개 메소드

public configureOptions ( Symfony\Component\OptionsResolver\OptionsResolver $resolver )
$resolver Symfony\Component\OptionsResolver\OptionsResolver

getPropertyAccessor() 보호된 메소드

protected getPropertyAccessor ( ) : PropertyAccessor
리턴 Symfony\Component\PropertyAccess\PropertyAccessor

getResult() 공개 메소드

public getResult ( Doctrine\ORM\QueryBuilder $builder, WellCommerce\Component\DataSet\Request\DataSetRequestInterface $request, WellCommerce\Component\DataSet\Column\ColumnCollection $columns, CacheOptions $cache )
$builder Doctrine\ORM\QueryBuilder
$request WellCommerce\Component\DataSet\Request\DataSetRequestInterface
$columns WellCommerce\Component\DataSet\Column\ColumnCollection
$cache WellCommerce\Component\DataSet\Cache\CacheOptions

getTransformers() 보호된 메소드

protected getTransformers ( ) : WellCommerce\Component\DataSet\Transformer\ColumnTransformerCollection
리턴 WellCommerce\Component\DataSet\Transformer\ColumnTransformerCollection

transformResult() 보호된 메소드

Transforms the results using additional data transformers
protected transformResult ( array $result ) : array
$result array
리턴 array

transformRow() 보호된 메소드

Processes the row data
protected transformRow ( array $row, WellCommerce\Component\DataSet\Transformer\ColumnTransformerCollection $transformers ) : array
$row array
$transformers WellCommerce\Component\DataSet\Transformer\ColumnTransformerCollection
리턴 array

프로퍼티 상세

$cacheManager 보호되어 있는 프로퍼티

protected DataSetCacheManagerInterface,WellCommerce\Component\DataSet\Cache $cacheManager
리턴 WellCommerce\Component\DataSet\Cache\DataSetCacheManagerInterface

$options 보호되어 있는 프로퍼티

protected array $options
리턴 array

$propertyAccessor 보호되어 있는 프로퍼티

protected PropertyAccessor,Symfony\Component\PropertyAccess $propertyAccessor
리턴 Symfony\Component\PropertyAccess\PropertyAccessor