Question: Opencart generates its sitemap on the fly and this is a problem in a big catalogs over 10.000 products. So I have modified the function to generate a static sitemap in an XML file.

When I access to my <http://localhost/index.php?route=extension/feed/google_sitemap> I generate a sitemap-google.xml file without problems and with a unlimited execution time.

I tried to add it in a cron in the development server each 4 hours

```
0 0,4,8,12,16,20 /usr/bin/php /path/to/index.php?route=extension/feed/google_sitemap

```

But I'm receiving a "command not found".

Can I execute on cli the "?params/etc"?

Answer: 
Reflection is based on the assembly’s *metadata*. What you seem to want would need to involve some kind of *source code* inspection to figure out all the concrete generic types created at runtime. Possible? Yes, the compiler does it, but not with reflection.
This is not what you're after but you could go a level deeper and get all methods of all types and collect all return types and the types of all arguments. 

Just to be clear, this is nothing close to code analysis that your task requires. This just gives your a little bit more info.