[symfony-users] Loading a new class during program execution
I'm creating a class file during execution and need to be able to use it after creating it. I've tried calling the sfCacheClearTask::run() as well as sfAutoloader::unregister(); sfAutoloader::register(); methods. Anyone have any idea how I can get this functionality? -- Stephen Ostrow sost...@sowebdesigns.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---
[symfony-users] Loading a new class during program execution
Is there a way to reload the autoloaded classes? Specifically I'm creating a new Doctrine model class on the fly. For my test I'm trying to call the class after generating but it will only work if I run the test a second time. I've tried calling the CacheClearTask() but I think it has to do with autoloading. Any help would be appreciated -- Stephen Ostrow sost...@sowebdesigns.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---