code: public function refresh()
      {
          if (null === $this->options || null === $this->sourceDir) {
              return;
          }
  
          $this->render($this->sourceDir, $this->options, $this->username);
      }
docs: Refreshes the slot entity