/**
  * setFilesystemStorage.
  *
  * @method setFilesystemStorage
  *
  * @return self
  */
 protected function setFilesystemStorage()
 {
     if ($this->filesystem->isDirectory($this->storagePath) === false) {
         $this->filesystem->makeDirectory($this->storagePath, 0777, true);
     }
     $this->payumBuilder->setTokenStorage($this->createFilesystemStorage(PayumToken::class, 'hash'))->addStorage(PayumPayment::class, $this->createFilesystemStorage(PayumPayment::class, 'number'))->addStorage(ArrayObject::class, $this->createFilesystemStorage(ArrayObject::class));
     return $this;
 }