It seems I was wrong about how form builder works, when you pass data through
$this->form->setDefault();
it is not loaded in the configure method. If you need to pass data to your configure method you have to do it through your builder, in my case it would be something like:
$this->form =new MyForm(array(),array("MyValue","value");
and then to read it you need to use
$this->getOption('MyValue');
in your configure method
seen on
Pass a variable to a Symfony Form
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…