The cache command class.
Create a new instance of CacheCommand.
The service container to manage dependencies.
Handle the incoming event.
The cache command class.