public function load(ObjectManager $manager)
 {
     $dataFileHandler = fopen($this->dataFile, 'r');
     while (($csvRow = fgetcsv($dataFileHandler)) !== false) {
         $state = new State();
         $state->setName($csvRow[0]);
         $state->setCode($csvRow[1]);
         $manager->persist($state);
     }
     fclose($dataFileHandler);
     $manager->flush();
 }
 public function setCode($code)
 {
     $this->__load();
     return parent::setCode($code);
 }