/** * Instance method to treat image serving for carousel thumb as a singleton bound to this controller instance * @return \ImageServing */ private function carouselImageServingInstance() { if (empty(self::$imageserving)) { self::$imageserving = new ImageServing(null, self::THUMBNAIL_WIDTH, self::THUMBNAIL_HEIGHT); } return self::$imageserving; }
/** * instance method to treat image serving for carousel thumb as a singleton bound to this controller instance */ private function carouselImageServingInstance() { if (empty(self::$imageserving)) { self::$imageserving = F::build('ImageServing', array(null, self::THUMBNAIL_WIDTH, self::THUMBNAIL_HEIGHT)); } return self::$imageserving; }