protected function getVolatileDirectory()
    {
        if ($this->volatileDirectory === null) {
            $this->volatileDirectory = $this->app->make(VolatileDirectory::class);
        }

        return $this->volatileDirectory;
    }