Generate the documentation from a PHP class.