protected clean_type ( $type ) : string | ||
return | string |
protected function clean_type($type)
{
$remove = array('_', '\\', 'CarbonFields', 'Field');
$clean_class = str_replace($remove, '', $type);
return $clean_class;
}