code: public function generateCacheKey($baseKey, $suffix = null) {
          if (is_array($baseKey)) {
              asort($baseKey);
              $baseKey = \Hash::make(json_encode($baseKey, JSON_UNESCAPED_UNICODE));
          }
          $key = get_class($this) . '->' . $baseKey;
          if ($this instanceof CmfDbRecord) {
              $key .= '-' . $this::getTableStructure()->getSchema();
              $key .= '-id-' . $this->getPrimaryKeyValue();
          } else if ($this instanceof CmfDbTable) {
              $key .= '-' . $this::getTableStructure()->getSchema();
          }
          if (!empty($suffix)) {
              if (is_array($suffix)) {
                  asort($suffix);
                  $suffix = \Hash::make(json_encode($suffix, JSON_UNESCAPED_UNICODE));
              }
              $key .= '-' . $suffix;
          }
          return $key;
      }
docs: Generate cache key from $baseKey for current class and DB Object id (if current class instance of \App\Db\BaseDbObject)
  @param string|array $baseKey - use method name; array - will be jsoned and hashed
  @param string|array|null $suffix
  @return string
  @throws \UnexpectedValueException
  @throws \PeskyORM\Exception\OrmException
  @throws \InvalidArgumentException
  @throws \BadMethodCallException
  @throws \RuntimeException