theseer / phpdox

Documentation generator for PHP Code using standard technology (SRC, DOCBLOCK, XML and XSLT)
http://phpdox.de
Other
600 stars 121 forks source link

Refactor code to avoid trait usage #363

Open MacFJA opened 5 years ago

MacFJA commented 5 years ago

Is this version better ?

It still keep the logic outside of every classes (prevent duplicate code, and ease maintainability) and shouldn't be too much overhead.

theseer commented 5 years ago

Yeah, like that a lot better. I'll have a look if we can get rid of instantiating it within the object and can have it injected but otherwise looks good.