Doctrine\MongoDB\Aggregation\Stage\Match::debug PHP Method

debug() public method

The $name parameter may be used to return a specific key from the internal $query array property. If omitted, the entire array will be returned.
public debug ( string $name = null ) : mixed
$name string
return mixed
    public function debug($name = null)
    {
        return $name !== null ? $this->query[$name] : $this->query;
    }