original_string: public static function getLicenseFile()
  
      {
          if (!isset(self::$file)) {
              $path = Grav::instance()['locator']->findResource('user-data://') . '/licenses.yaml';
              if (!file_exists($path)) {
                  touch($path);
              }
              self::$file = CompiledYamlFile::instance($path);
          }
  
          return self::$file;
      }
code: public static function getLicenseFile()
  
      {
          if (!isset(self::$file)) {
              $path = Grav::instance()['locator']->findResource('user-data://') . '/licenses.yaml';
              if (!file_exists($path)) {
                  touch($path);
              }
              self::$file = CompiledYamlFile::instance($path);
          }
  
          return self::$file;
      }
code_tokens: public static function getLicenseFile ( ) { if ( ! isset ( self :: $ file ) ) { $ path = Grav :: instance ( ) [ 'locator' ] -> findResource ( 'user-data://' ) . '/licenses.yaml' ; if ( ! file_exists ( $ path ) ) { touch ( $ path ) ; } self :: $ file = CompiledYamlFile :: instance ( $ path ) ; } return self :: $ file ; }
docstring: Get's the License File object
  
  @return \RocketTheme\Toolbox\File\FileInterface
docstring_tokens: Get s the License File object