original_string: private function getResourceOnly()
      {
          $name = $this->getArgumentResource();
          if (!str_contains($name, '.')) {
              return $name;
          }
  
          return substr($name, strripos($name, '.') + 1);
      }
code: private function getResourceOnly()
      {
          $name = $this->getArgumentResource();
          if (!str_contains($name, '.')) {
              return $name;
          }
  
          return substr($name, strripos($name, '.') + 1);
      }
code_tokens: private function getResourceOnly ( ) { $ name = $ this -> getArgumentResource ( ) ; if ( ! str_contains ( $ name , '.' ) ) { return $ name ; } return substr ( $ name , strripos ( $ name , '.' ) + 1 ) ; }
docstring: If there are '.' in the name, get the last occurence
  
  @return string
docstring_tokens: If there are . in the name get the last occurence