document typo..

This commit is contained in:
Cüneyt Şentürk
2021-01-09 22:31:26 +03:00
parent 7f318911fd
commit 12e063eaff
5 changed files with 163 additions and 83 deletions

View File

@ -123,4 +123,11 @@ abstract class Document extends Component
return $hide;
}
public function getClassFromConfig($type, $config_key)
{
$class_key = 'type.' . $type . '.class.' . $config_key;
return config($class_key, '');
}
}