Doctrine\MongoDB\Tests\Aggregation\Stage\MatchTest::provideProxiedExprMethods PHP Метод

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

    public function provideProxiedExprMethods()
    {
        return ['field()' => ['field', ['fieldName']], 'equals()' => ['equals', ['value']], 'in()' => ['in', [['value1', 'value2']]], 'notIn()' => ['notIn', [['value1', 'value2']]], 'notEqual()' => ['notEqual', ['value']], 'gt()' => ['gt', [1]], 'gte()' => ['gte', [1]], 'lt()' => ['gt', [1]], 'lte()' => ['gte', [1]], 'range()' => ['range', [0, 1]], 'size()' => ['size', [1]], 'exists()' => ['exists', [true]], 'type()' => ['type', [7]], 'all()' => ['all', [['value1', 'value2']]], 'maxDistance' => ['maxDistance', [5]], 'minDistance' => ['minDistance', [5]], 'mod()' => ['mod', [2, 0]], 'geoIntersects()' => ['geoIntersects', [$this->getMockGeometry()]], 'geoWithin()' => ['geoWithin', [$this->getMockGeometry()]], 'geoWithinBox()' => ['geoWithinBox', [1, 2, 3, 4]], 'geoWithinCenter()' => ['geoWithinCenter', [1, 2, 3]], 'geoWithinCenterSphere()' => ['geoWithinCenterSphere', [1, 2, 3]], 'geoWithinPolygon()' => ['geoWithinPolygon', [[0, 0], [1, 1], [1, 0]]], 'addAnd() array' => ['addAnd', [[]]], 'addAnd() Expr' => ['addAnd', [$this->getMockQueryExpr()]], 'addOr() array' => ['addOr', [[]]], 'addOr() Expr' => ['addOr', [$this->getMockQueryExpr()]], 'addNor() array' => ['addNor', [[]]], 'addNor() Expr' => ['addNor', [$this->getMockQueryExpr()]], 'not()' => ['not', [$this->getMockQueryExpr()]], 'language()' => ['language', ['en']], 'text()' => ['text', ['foo']]];
    }