モジュールのgenerator.ymlにこれがあります:
config:
actions:
_new: { credentials: [user] }
そして、generator.yml で言及したアクション「new」を次のように上書きしました。
public function executeNew(sfWebRequest $request)
{
var_dump($this->getCredential());
$this->form = $this->configuration->getForm();
$this->Sedi = $this->form->getObject();
}
新しいアクションを実行すると、「null」になります。「ユーザー」を取得することを期待していました。
私は「cc」をしました。
何か案が?
ハビエル