original_string: public function set($target)
      {
          if (! is_string($target) || empty($target)) {
              throw new InvalidArgumentException(
                  'Invalid target provided. Must be an non-empty string.'
              );
          }
          $this->target = $target;
      }
code: public function set($target)
      {
          if (! is_string($target) || empty($target)) {
              throw new InvalidArgumentException(
                  'Invalid target provided. Must be an non-empty string.'
              );
          }
          $this->target = $target;
      }
code_tokens: public function set ( $ target ) { if ( ! is_string ( $ target ) || empty ( $ target ) ) { throw new InvalidArgumentException ( 'Invalid target provided. Must be an non-empty string.' ) ; } $ this -> target = $ target ; }
docstring: Sets the target of upload.
  
  @param string $target The target of upload
  
  @throws \InvalidArgumentException If the target is not string or empty string
docstring_tokens: Sets the target of upload .