/**
  * @param $timeCardRows
  *
  * @internal param Request $request
  */
 private function setValueUseByAppGlobal($timeCardRows)
 {
     // jeffery way's package for moving php variables to the .js space.
     // see https://github.com/laracasts/PHP-Vars-To-Js-Transformer.
     // also see javascript.php in the config dir for view and .js namespace used.
     appGlobals::populateJsGlobalSpace();
     // used for routing.
     $this->setRefreshButtonToCorrectTimeCardWorkedId($timeCardRows);
 }