protected function minimizeResource(string $resource, ?string $fullPathName): string
  {
    list($std_out, $std_err) = $this->runProcess($this->minifyCommand, $resource);

    if ($std_err) $this->logInfo($std_err);

    return $std_out;
  }