original_string: protected function getCommandByName(Blueprint $blueprint, $name)
      {
          $commands = $this->getCommandsByName($blueprint, $name);
  
          if (count($commands) > 0) {
              return reset($commands);
          }
      }
code: protected function getCommandByName(Blueprint $blueprint, $name)
      {
          $commands = $this->getCommandsByName($blueprint, $name);
  
          if (count($commands) > 0) {
              return reset($commands);
          }
      }
code_tokens: protected function getCommandByName ( Blueprint $ blueprint , $ name ) { $ commands = $ this -> getCommandsByName ( $ blueprint , $ name ) ; if ( count ( $ commands ) > 0 ) { return reset ( $ commands ) ; } }
docstring: Get the primary key command if it exists on the blueprint.
  
  @param  \Illuminate\Database\Schema\Blueprint  $blueprint
  @param  string  $name
  @return \Illuminate\Support\Fluent|null
docstring_tokens: Get the primary key command if it exists on the blueprint .