Doctrine\MongoDB\Tests\Aggregation\Stage\ProjectTest::provideProxiedExprMethods PHP Method

provideProxiedExprMethods() public static method

public static provideProxiedExprMethods ( )
    public static function provideProxiedExprMethods()
    {
        $expression = new Expr();
        $expression->field('dayOfMonth')->dayOfMonth('$dateField')->field('dayOfWeek')->dayOfWeek('$dateField');
        return ['avg()' => ['avg', ['$field']], 'max()' => ['max', ['$field']], 'min()' => ['min', ['$field']], 'stdDevPop()' => ['stdDevPop', ['$field']], 'stdDevSamp()' => ['stdDevSamp', ['$field']], 'sum()' => ['sum', ['$field']]];
    }