mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
rename deprecated using path for ObjectManager
This commit is contained in:
parent
d8a9881e63
commit
33c9cdeaf2
@ -66,7 +66,7 @@ class ImportPeopleFromCSVCommand extends ContainerAwareCommand
|
||||
protected $helper;
|
||||
|
||||
/**
|
||||
* @var \Doctrine\Common\Persistence\ObjectManager
|
||||
* @var \Doctrine\Persistence\ObjectManager
|
||||
*/
|
||||
protected $em;
|
||||
|
||||
@ -294,7 +294,7 @@ EOF
|
||||
{
|
||||
|
||||
$cfMappingsOptions = $this->input->getOption('custom-field');
|
||||
/* @var $em \Doctrine\Common\Persistence\ObjectManager */
|
||||
/* @var $em \Doctrine\Persistence\ObjectManager */
|
||||
$em = $this->em;
|
||||
|
||||
foreach($cfMappingsOptions as $cfMappingStringOption) {
|
||||
@ -393,7 +393,7 @@ EOF
|
||||
$this->logger->debug("Setting locale to ".$input->getArgument('locale'));
|
||||
setlocale(LC_TIME, $input->getArgument('locale'));
|
||||
|
||||
/* @var $em \Doctrine\Common\Persistence\ObjectManager */
|
||||
/* @var $em \Doctrine\Persistence\ObjectManager */
|
||||
$this->em = $this->getContainer()->get('doctrine.orm.entity_manager');
|
||||
|
||||
// opening csv as resource
|
||||
|
Loading…
x
Reference in New Issue
Block a user