phpDocumentor itself does not have its own option to handle this use case. What I did in the past was to create a dummy file that contains empty class declarations for all the “not found” classes marked with these classes, such as “@package DoNotDocument”, and used the argument runtime --packageoutput [1] without Enumerating "DoNotDocument" to the list of packages to include in the output. Of course, this is a hack, but the effect is as follows:
a) avoid "not found" warnings (since the class now "exists"),
while b) does not create any documents for dummy classes.
class Zend_Controller_Action {}
phpdoc -d ./src -t ./docs -po MyPackage1,MyPackage2
, ZF. phpDocumentor ZF, API , .. ZF. , phpDocumentor ZF, ZF, , @package (, "Zend_Controller" ) runtimeoutputout. >
[1] - http://manual.phpdoc.org/HTMLSmartyConverter/HandS/phpDocumentor/tutorial_phpDocumentor.howto.pkg.html#using.command-line.packageoutput