original_string: protected function getExtension($vendor, $package = null)
      {
          $name = (is_null($package) ? $vendor : implode('/', [$vendor, $package]));
  
          return new Fluent(['name' => $name, 'uid' => $name]);
      }
code: protected function getExtension($vendor, $package = null)
      {
          $name = (is_null($package) ? $vendor : implode('/', [$vendor, $package]));
  
          return new Fluent(['name' => $name, 'uid' => $name]);
      }
code_tokens: protected function getExtension ( $ vendor , $ package = null ) { $ name = ( is_null ( $ package ) ? $ vendor : implode ( '/' , [ $ vendor , $ package ] ) ) ; return new Fluent ( [ 'name' => $ name , 'uid' => $ name ] ) ; }
docstring: Get extension information.
  
  @param  string  $vendor
  @param  string|null  $package
  
  @return \Illuminate\Support\Fluent
docstring_tokens: Get extension information .