original_string: public static function string($value)
      {
          if (static::stringable($value)) {
              $value = (string) $value;
          } else {
              $value = null;
          }
  
          return $value;
      }
code: public static function string($value)
      {
          if (static::stringable($value)) {
              $value = (string) $value;
          } else {
              $value = null;
          }
  
          return $value;
      }
code_tokens: public static function string ( $ value ) { if ( static :: stringable ( $ value ) ) { $ value = ( string ) $ value ; } else { $ value = null ; } return $ value ; }
docstring: Get value treated as string
  
  @param mixed $value Value
  
  @return string|null
docstring_tokens: Get value treated as string