private function methodMatches(array $top) { return $this->method === null || $top["function"] === $this->method; }