/**
  * @param string $namespace
  * @param int|null $width
  * @param int|null $height
  * @return string|null
  */
 public function getDummyImageUrl($namespace, $width = null, $height = null)
 {
     if (!$this->config->isDummyEnabled($namespace)) {
         return null;
     }
     if (rand(0, 99) > $this->config->getDummyDisplayChance($namespace)) {
         return null;
     }
     if ($width === null || $height === null) {
         if (!($fallbackSize = $this->config->getDummyFallbackSize($namespace))) {
             return null;
         }
         $width = $fallbackSize[0];
         $height = $fallbackSize[1];
     }
     $category = $this->config->getDummyCategory($namespace);
     $provider = $this->config->getDummyProvider($namespace);
     return $provider->getUrl($width, $height, $category);
 }