Here's how I do it: $task = new sfDoctrineBuildTask(clone $this->dispatcher, clone $this->formatter); $task->setCommandApplication($this->commandApplication); $task->setConfiguration($this->configuration); $task->run(array(),array('all' => true, 'and-load' => true));
On Jun 1, 10:25 am, Robert Schoenthal <seros...@googlemail.com> wrote: > sure u can: > > $this->commandApplication->getTask('TASKTOEXECUTE')->run(); > > greetz > robert > > On May 31, 11:17 pm, Fernando Navarro Páez > > <fernando.navarro.p...@gmail.com> wrote: > > Can I execute symfony build --all --no-confirmation --and-load in > > MyTask? > > > Thanks in advance > > -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.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