Sulu\Component\Rest\ListBuilder\Doctrine\DoctrineListBuilder::createWhereExpression PHP Метод

createWhereExpression() публичный Метод

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);
    }