original_string: public function make(array $segments, $delimiter = ' - ', $suffix = '', $prefix = '', $on_empty = '')
      {
          $result = implode($delimiter, $segments);
  
          if ($this->has()) {
  
              return $prefix . $result . $suffix;
          } else {
  
              return $on_empty;
          }
      }
code: public function make(array $segments, $delimiter = ' - ', $suffix = '', $prefix = '', $on_empty = '')
      {
          $result = implode($delimiter, $segments);
  
          if ($this->has()) {
  
              return $prefix . $result . $suffix;
          } else {
  
              return $on_empty;
          }
      }
code_tokens: public function make ( array $ segments , $ delimiter = ' - ' , $ suffix = '' , $ prefix = '' , $ on_empty = '' ) { $ result = implode ( $ delimiter , $ segments ) ; if ( $ this -> has ( ) ) { return $ prefix . $ result . $ suffix ; } else { return $ on_empty ; } }
docstring: Check if any segments added
  
  @param array $segments - array of segment pieces
  @param string $delimiter - delimiter for implosion
  @param string $suffix - addition to the end
  @param string $prefix - addition to beginning
  @param string $on_empty - print if segments is empty
  @return string
docstring_tokens: Check if any segments added