Added a generator for php class template.