M
M
MUTOgen4eg2013-12-11 11:43:04
Yii
MUTOgen4eg, 2013-12-11 11:43:04

PhpDoc and packages generation?

Faced with the problem of generating phpDoc.
There is a conditional set of classes with @package written in the format project.models, project.components, etc.
By default, I assumed that these directives would allow the phpDoc structure to be formed in the format of separation into packages, but this did not happen and when generating all classes fall into / (root).
In fairness, I conducted an experiment based on Yii and generating phpDoc for it. The same story came out.
I think the problem is with the phpDoc settings, but maybe I didn't take something into account...

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
gro, 2013-12-11
@gro

You just need to use namespaces without any @package

I
IIISpikerIII, 2016-10-01
@IIISpikerIII

Not all templates support division into packages, for example, the responsive template can group by packages, in responsive-twig it groups only on the main one, and when you go to the package branch, navigation will already be from namespaces

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question