Sulu\Component\Rest\ListBuilder\Doctrine\DoctrineListBuilder::createWhereExpression PHP Méthode

createWhereExpression() public méthode

public createWhereExpression ( Sulu\Component\Rest\ListBuilder\FieldDescriptorInterface $fieldDescriptor, $value, $comparator )
$fieldDescriptor Sulu\Component\Rest\ListBuilder\FieldDescriptorInterface
    public function createWhereExpression(FieldDescriptorInterface $fieldDescriptor, $value, $comparator)
    {
        if (!$fieldDescriptor instanceof DoctrineFieldDescriptorInterface) {
            throw new InvalidExpressionArgumentException('where', 'fieldDescriptor');
        }
        return new DoctrineWhereExpression($fieldDescriptor, $value, $comparator);
    }