Closed KhanMaytok closed 5 years ago
Hi. I'm trying to get the settings work into a symfony command that I created
The command extends from ContainerAwareCommand.
ContainerAwareCommand
I tried with
$this->getContainer()->getParameter('craue_config')->get('enterprise_ruc')
But doesn't works
Try $this->getContainer()->get('craue_config')->get('enterprise_ruc') instead.
$this->getContainer()->get('craue_config')->get('enterprise_ruc')
Works! many thanks for the response
Hi. I'm trying to get the settings work into a symfony command that I created
The command extends from
ContainerAwareCommand
.I tried with
$this->getContainer()->getParameter('craue_config')->get('enterprise_ruc')
But doesn't works