/** * @param $attributeModelClassName * @return string */ protected function resolveAttributeModelClassNameWithCastingHintForCastingDown($attributeModelClassName) { assert('is_string($attributeModelClassName)'); if ($this->modelAttributeToDataProviderAdapter->getCastingHintModelClassNameForAttribute() != null) { return $this->modelAttributeToDataProviderAdapter->getCastingHintModelClassNameForAttribute(); } return $attributeModelClassName; }