code: public function setVariables(array $data): void
      {
          foreach ($data as $key => $value) {
              $this->$key = $value;
          }
      }
docs: The method provides massive assignment user variables of the class.
  @param array $data The users's variables of the class.
  @return void