ZF-8672: Zend_Loader_Autoloader_Resource model example throws exception

Description

The manual provides this example of how to add resource types:

$resourceLoader->addResourceType('acl', 'acls/', 'Acl') ->addResourceType('form', 'forms/', 'Form') ->addResourceType('model', 'models/');

In fact, the third type would throw an exception, since it needs namespace to define a new 'model' type.

Comments

I have a media module and I thought I could just name my models Media_Picture if I ignored the namespace argument as in ->addResourceType('model', 'models/'). This should definitely be fixed in the doc.

Fixed with the issue ZF-10852 in the version 1.11.2.