private static function createCollection($responseData)
    {
        $collection = new Collection();

        foreach ($responseData as $element) {
            $torrent = new Torrent();

            $torrent->title = $element['title'] ?? null;
            $torrent->hash = $element['info_hash'] ?? null;
            $torrent->link = $element['link'] ?? null;
            $torrent->category = $element['category'] ?? null;
            $torrent->size = $element['size'] ?? null;
            $torrent->date = $element['publish_date'] ?? null;

            if ($torrent->size) {
                $torrent->size = (int)$torrent->size;
            }

            if ($torrent->date) {
                $torrent->date = new \DateTime($torrent->date);
            }

            $collection[] = $torrent;
        }

        return $collection;
    }