/** * Constructor * * @param SystemBrand $systemBrandService * @param int $httpCacheMaxAgeInSeconds */ public function __construct(SystemBrand $systemBrandService, $httpCacheMaxAgeInSeconds = 0) { parent::__construct($systemBrandService, $httpCacheMaxAgeInSeconds); // Ensure contact details don't get cached in TWIG template. $this->response->setPrivate(); }
/** * Constructor * * @param SystemBrand $systemBrandService * @param int $httpCacheMaxAgeInSeconds * @param string $defaultStyle * @internal param IrisEntityManager $irisEntityManager * @internal param Cache $cache */ public function __construct(SystemBrand $systemBrandService, $httpCacheMaxAgeInSeconds = 3600, $defaultStyle = "@brandprimary: #0093d0; @pagebackground: #dee6e8; @headingfont: bliss_2light, Arial, sans-serif; @bodyfont: pt_sansregular, Helvetica, Arial, sans-serif;") { parent::__construct($systemBrandService, $httpCacheMaxAgeInSeconds); $this->defaultStyle = $defaultStyle; }