/** * Find image size data * * @param string $sizeName * @return ImageSize */ public function findImageSize($sizeName) { if ($this->imageSizes->containsKey($sizeName)) { return $this->imageSizes->get($sizeName); } else { return null; } }
/** * {@inheritdoc} */ public function containsKey($key) { $this->initialize(); return $this->coll->containsKey($key); }