switch to apigen from phpdoc