original_string: public function getIdentifier($namespace)
      {
          $namespace = Str::normalizeClassName($namespace);
          if (strpos($namespace, '\\') === null) {
              return $namespace;
          }
  
          $parts = explode('\\', $namespace);
          $slice = array_slice($parts, 1, 2);
          $namespace = implode('.', $slice);
  
          return $namespace;
      }
code: public function getIdentifier($namespace)
      {
          $namespace = Str::normalizeClassName($namespace);
          if (strpos($namespace, '\\') === null) {
              return $namespace;
          }
  
          $parts = explode('\\', $namespace);
          $slice = array_slice($parts, 1, 2);
          $namespace = implode('.', $slice);
  
          return $namespace;
      }
code_tokens: public function getIdentifier ( $ namespace ) { $ namespace = Str :: normalizeClassName ( $ namespace ) ; if ( strpos ( $ namespace , '\\' ) === null ) { return $ namespace ; } $ parts = explode ( '\\' , $ namespace ) ; $ slice = array_slice ( $ parts , 1 , 2 ) ; $ namespace = implode ( '.' , $ slice ) ; return $ namespace ; }
docstring: Resolves a plugin identifier from a plugin class name or object.
  @param mixed Plugin class name or object
  @return string Identifier in format of Vendor.Plugin
docstring_tokens: Resolves a plugin identifier from a plugin class name or object .