text: const fs = require('fs');
  const utils = require('./app/utils');
  
  module.exports = class AppBootHook {
    constructor(app) {
      this.app = app;
    }
    async serverDidReady() {
      const {app} = this;
      app.utils = utils;
      const {cacheDirectory} = app.config;
      if(!fs.existsSync(cacheDirectory)){
        fs.mkdirSync(cacheDirectory);
      }
    }
  }