original_string: private function makeSlug($bean, $property_name, $slug_string) {
  		$string = $this->neatTrim( $slug_string, 100 ); // Maximum of 100 characters with complete words
  		$slug = $this->slugify( $string );
  		if ( $this->uniqueSlug( $bean, $property_name, $slug ) ) {
  			return $slug;
  		} else {
  			// Create slug with uniqid() and check again
  			return $this->makeSlug( $bean, $property_name, $slug . '-' . uniqid() );
  		}
  	}
code: private function makeSlug($bean, $property_name, $slug_string) {
  		$string = $this->neatTrim( $slug_string, 100 ); // Maximum of 100 characters with complete words
  		$slug = $this->slugify( $string );
  		if ( $this->uniqueSlug( $bean, $property_name, $slug ) ) {
  			return $slug;
  		} else {
  			// Create slug with uniqid() and check again
  			return $this->makeSlug( $bean, $property_name, $slug . '-' . uniqid() );
  		}
  	}
code_tokens: private function makeSlug ( $ bean , $ property_name , $ slug_string ) { $ string = $ this -> neatTrim ( $ slug_string , 100 ) ; // Maximum of 100 characters with complete words $ slug = $ this -> slugify ( $ string ) ; if ( $ this -> uniqueSlug ( $ bean , $ property_name , $ slug ) ) { return $ slug ; } else { // Create slug with uniqid() and check again return $ this -> makeSlug ( $ bean , $ property_name , $ slug . '-' . uniqid ( ) ) ; } }
docstring: Returns a unique slug for a bean with a maximum of 100 characters with complete words.
  
  @param bean		$bean			The bean to create the slug for.
  @param string	$property_name	The property name to create the slug for.
  @param string	$slug_string	The input string for the slug.
  
  @return string	The slug.
docstring_tokens: Returns a unique slug for a bean with a maximum of 100 characters with complete words .