original_string: public function parse($path, $properties)
      {
          $segments = explode('\\', str_replace('/', '\\', $path));
          $name = array_pop($segments);
          $namespace = implode('\\', $segments);
  
          $properties = $this->parseProperties($properties);
  
          return new CommandInput($name, $namespace, $properties);
      }
code: public function parse($path, $properties)
      {
          $segments = explode('\\', str_replace('/', '\\', $path));
          $name = array_pop($segments);
          $namespace = implode('\\', $segments);
  
          $properties = $this->parseProperties($properties);
  
          return new CommandInput($name, $namespace, $properties);
      }
code_tokens: public function parse ( $ path , $ properties ) { $ segments = explode ( '\\' , str_replace ( '/' , '\\' , $ path ) ) ; $ name = array_pop ( $ segments ) ; $ namespace = implode ( '\\' , $ segments ) ; $ properties = $ this -> parseProperties ( $ properties ) ; return new CommandInput ( $ name , $ namespace , $ properties ) ; }
docstring: Parse the command input.
  
  @param $path
  @param $properties
  @return CommandInput
docstring_tokens: Parse the command input .