original_string: public function get()
      {
          foreach ($this->_commands as $command) {
              $location = $this->_commandLocator->locate(basename($command));
              if ($location !== null) {
                  return $location;
              }
          }
  
          return null;
      }
code: public function get()
      {
          foreach ($this->_commands as $command) {
              $location = $this->_commandLocator->locate(basename($command));
              if ($location !== null) {
                  return $location;
              }
          }
  
          return null;
      }
code_tokens: public function get ( ) { foreach ( $ this -> _commands as $ command ) { $ location = $ this -> _commandLocator -> locate ( basename ( $ command ) ) ; if ( $ location !== null ) { return $ location ; } } return null ; }
docstring: Returns the path to the first command found in the list.
  
  @return string|null The located command, or null if none could be found.
docstring_tokens: Returns the path to the first command found in the list .