public function findMany($url, $type, $resource)
    {
        $data = [];

        $response = json_decode(file_get_contents($url), true);
        $response = $response[$resource];

        if (count($response) > 0) {
            foreach ($response as $item) {
                $data[] = new $type($item);
            }
        }

        return $data;
    }