original_string: public function getDestinationPath($package)
      {
          $packages = $this->config->getPackages();
  
          $namespace = isset($packages[$package]) ? $packages[$package] : null;
  
          if (is_null($namespace)) {
              throw new \InvalidArgumentException("Configuration not found.");
          }
  
          return $this->publishPath .str_replace('/', DS, "/Packages/{$namespace}");
      }
code: public function getDestinationPath($package)
      {
          $packages = $this->config->getPackages();
  
          $namespace = isset($packages[$package]) ? $packages[$package] : null;
  
          if (is_null($namespace)) {
              throw new \InvalidArgumentException("Configuration not found.");
          }
  
          return $this->publishPath .str_replace('/', DS, "/Packages/{$namespace}");
      }
code_tokens: public function getDestinationPath ( $ package ) { $ packages = $ this -> config -> getPackages ( ) ; $ namespace = isset ( $ packages [ $ package ] ) ? $ packages [ $ package ] : null ; if ( is_null ( $ namespace ) ) { throw new \ InvalidArgumentException ( "Configuration not found." ) ; } return $ this -> publishPath . str_replace ( '/' , DS , "/Packages/{$namespace}" ) ; }
docstring: Get the target destination path for the configuration files.
  
  @param  string  $package
  @return string
docstring_tokens: Get the target destination path for the configuration files .