protected function getBadgeFile(Bundle $bundle, $type = self::LONG) { return $this->cacheDir . '/badges/' . $type . '/' . $bundle->getOwnerName() . '-' . $bundle->getName() . '.png'; }