Documentation

Pipeline
in package
implements IteratorAggregate

FinalYes

An aggregation pipeline consists of one or more stages that process documents.

Tags
see
https://www.mongodb.com/docs/manual/core/aggregation-pipeline/
psalm-immutable
psalm-type

stage = StageInterface|array<string,mixed>|stdClass

implements

Table of Contents

Interfaces

IteratorAggregate

Properties

$stages  : array<string|int, mixed>

Methods

__construct()  : mixed
getIterator()  : ArrayIterator

Properties

$stages read-only

private array<string|int, mixed> $stages

Methods

__construct()

public __construct(StageInterface|Pipeline|array<string|int, mixed>|stdClass ...$stagesOrPipelines) : mixed
Parameters
$stagesOrPipelines : StageInterface|Pipeline|array<string|int, mixed>|stdClass
Tags
psalm-param

stage|list ...$stagesOrPipelines

no-named-arguments

getIterator()

public getIterator() : ArrayIterator
Return values
ArrayIterator

        
On this page

Search results