/** * Initialized data on postLoad doctrine event. */ public function postLoad() { // Ensure class content are known $data = (array) $this->_data; foreach ($data as $dataEntry) { $type = key($dataEntry); $dataEntry = array_pop($dataEntry); if (true === is_array($dataEntry)) { $type = key($dataEntry); } if ($type !== 'scalar' && $type !== 'array') { self::getFullClassname($type); } } parent::postLoad(); }
/** * Initialized data on postLoad doctrine event. */ public function postLoad() { // Ensure class content are known $data = (array) $this->_data; foreach ($data as $dataEntry) { $type = key($dataEntry); $dataEntry = array_pop($dataEntry); if (true === is_array($dataEntry)) { $type = key($dataEntry); } if (0 === strpos($type, 'BackBee\\ClassContent')) { class_exists($type); } } parent::postLoad(); }