PHP Class Sulu\Component\Rest\ListBuilder\Expression\Doctrine\DoctrineInExpression

Inheritance: extends AbstractDoctrineExpression, implements Sulu\Component\Rest\ListBuilder\Expression\InExpressionInterface
Exibir arquivo Open project: sulu/sulu Class Usage Examples

Protected Properties

Property Type Description
$field Sulu\Component\Rest\ListBuilder\Doctrine\FieldDescriptor\DoctrineFieldDescriptorInterface Field descriptor used for comparison.
$values array Array values to compare.

Public Methods

Method Description
__construct ( Sulu\Component\Rest\ListBuilder\Doctrine\FieldDescriptor\DoctrineFieldDescriptorInterface $field, array $values ) DoctrineInExpression constructor.
getFieldName ( )
getStatement ( Doctrine\ORM\QueryBuilder $queryBuilder )
getValues ( )

Protected Methods

Method Description
filterNullValues ( array $values ) : array Returns a new array without null values.

Method Details

__construct() public method

DoctrineInExpression constructor.
public __construct ( Sulu\Component\Rest\ListBuilder\Doctrine\FieldDescriptor\DoctrineFieldDescriptorInterface $field, array $values )
$field Sulu\Component\Rest\ListBuilder\Doctrine\FieldDescriptor\DoctrineFieldDescriptorInterface
$values array

filterNullValues() protected method

Returns a new array without null values.
protected filterNullValues ( array $values ) : array
$values array
return array

getFieldName() public method

public getFieldName ( )

getStatement() public method

public getStatement ( Doctrine\ORM\QueryBuilder $queryBuilder )
$queryBuilder Doctrine\ORM\QueryBuilder

getValues() public method

public getValues ( )

Property Details

$field protected_oe property

Field descriptor used for comparison.
protected DoctrineFieldDescriptorInterface,Sulu\Component\Rest\ListBuilder\Doctrine\FieldDescriptor $field
return Sulu\Component\Rest\ListBuilder\Doctrine\FieldDescriptor\DoctrineFieldDescriptorInterface

$values protected_oe property

Array values to compare.
protected array $values
return array