public function init()
    {
        parent::init();
        $this->cache = Instance::ensure($this->cache, Cache::className());
    }
public function init()
    {
        parent::init();
        $this->cache = Instance::ensure($this->cache, Cache::className());
    }
Initializes the application component.