original_string: protected function getPackageName($package)
      {
          if (strpos($package, '/') === false) {
              return $package;
          }
  
          list($vendor, $namespace) = explode('/', $package);
  
          return $namespace;
      }
code: protected function getPackageName($package)
      {
          if (strpos($package, '/') === false) {
              return $package;
          }
  
          list($vendor, $namespace) = explode('/', $package);
  
          return $namespace;
      }
code_tokens: protected function getPackageName ( $ package ) { if ( strpos ( $ package , '/' ) === false ) { return $ package ; } list ( $ vendor , $ namespace ) = explode ( '/' , $ package ) ; return $ namespace ; }
docstring: Get the name for a Package.
  
  @param  string  $package
  @param  string  $namespace
  @return string
docstring_tokens: Get the name for a Package .