Details
Description
Doctrine_Record_Generator::initialize first builds the table class and then a "Doctrine_Record" from that. This is surprising, as the result is a "double conversion" from record to table and back.
Furthermore, writing files, no record listeners can be attached (see createClassFromTable)!
I therefore suggest adding the possibility to add listeners - which the builder already does! - to the Record_Generator.