protected function dasherize($value) { return strtolower(trim(preg_replace('/[A-Z]/', '-$0', $value), '-')); }