code: protected function print(string $msg, bool $withTime = true): void
      {
          $preMsg = '';
          if ($withTime) {
              $preMsg = (new \DateTime('now'))->format('H:i:s')."\t";
          }
          echo "{$preMsg}{$msg}".\PHP_EOL;
      }
docs: It prints passed message to the console.
  @param string $msg Message to print.
  @param bool $withTime Flag to print with previous timestamp.
  @return void