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;
    }
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;
    }
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 ; }
Get's the License File object

@return \RocketTheme\Toolbox\File\FileInterface
Get s the License File object