I have these lines in my application.ini
how can I read user in my contrroler
resources.doctrine.dbal.connections.default.parameter
I think you should use
$this->getInvokeArgs('bootstrap');
For more info see this chapter in manual.
What about using
$conf = $bootstrap->getOption('resources'); $dbConf = $conf['doctrine']['dbal']['connections']['default']['parameters'];