decoder = new CborDecoder(); parent::__construct($api); } /** * @param StreamInterface $stream * @param StructureShape $member * @param $response * * @return mixed */ public function parseMemberFromStream( StreamInterface $stream, StructureShape $member, $response ): mixed { return $this->resolveOutputShape($member, $this->parseCbor($stream, $response)); } }