OO implementation of phpdoc