protected function parseData($data) { parent::parseData($data); if (strpos($data['_contents'], self::PARENT_CHILD_SEPARATOR) !== false) { list($parent_value, $child_value) = explode(self::PARENT_CHILD_SEPARATOR, $data['_contents']); $this->option = $this->getOption($child_value); } }
protected function parseData($data) { parent::parseData($data); if (strpos($data['_contents'], self::PARENT_CHILD_SEPARATOR) !== false) { /** @noinspection PhpUnusedLocalVariableInspection */ list($parent_value, $child_value) = explode(self::PARENT_CHILD_SEPARATOR, $data['_contents']); $this->option = $this->getOption($child_value); } }