protected function createSuggestion($value)
    {
        // Strip the obsolete regex keys
        if (empty($this->obsolete_regex) === false) {
            $value = preg_replace("/^({$this->obsolete_regex})\./i", '', $value);
        }

        return Str::title(str_replace('_', ' ', $value));
    }
protected function createSuggestion($value)
    {
        // Strip the obsolete regex keys
        if (empty($this->obsolete_regex) === false) {
            $value = preg_replace("/^({$this->obsolete_regex})\./i", '', $value);
        }

        return Str::title(str_replace('_', ' ', $value));
    }
protected function createSuggestion ( $ value ) { // Strip the obsolete regex keys if ( empty ( $ this -> obsolete_regex ) === false ) { $ value = preg_replace ( "/^({$this->obsolete_regex})\./i" , '' , $ value ) ; } return Str :: title ( str_replace ( '_' , ' ' , $ value ) ) ; }
Create a key value suggestion.

@param string $value

@return string
Create a key value suggestion .