public function modify(MethodEndpoint $endpoint, ReflectionMethod $method) { foreach ($endpoint->getPaths() as $path) { $path->where = array_merge($path->where, (array) $this->value); } }