original_string: public function getVersion($of = 'atk')
      {
          // TODO: get version of add-on
          if (!$this->version_cache) {
              $f = $this->app->pathfinder->atk_location->base_path.DIRECTORY_SEPARATOR.'VERSION';
              if (file_exists($f)) {
                  $this->version_cache = trim(file_get_contents($f));
              } else {
                  $this->version_cache = '4.0.1';
              }
          }
  
          return $this->version_cache;
      }
code: public function getVersion($of = 'atk')
      {
          // TODO: get version of add-on
          if (!$this->version_cache) {
              $f = $this->app->pathfinder->atk_location->base_path.DIRECTORY_SEPARATOR.'VERSION';
              if (file_exists($f)) {
                  $this->version_cache = trim(file_get_contents($f));
              } else {
                  $this->version_cache = '4.0.1';
              }
          }
  
          return $this->version_cache;
      }
code_tokens: public function getVersion ( $ of = 'atk' ) { // TODO: get version of add-on if ( ! $ this -> version_cache ) { $ f = $ this -> app -> pathfinder -> atk_location -> base_path . DIRECTORY_SEPARATOR . 'VERSION' ; if ( file_exists ( $ f ) ) { $ this -> version_cache = trim ( file_get_contents ( $ f ) ) ; } else { $ this -> version_cache = '4.0.1' ; } } return $ this -> version_cache ; }
docstring: Determine version of Agile Toolkit or specified plug-in.
  
  @param string $of
  
  @return string
docstring_tokens: Determine version of Agile Toolkit or specified plug - in .