public function setEventLayout($flag, $value, array $layout) { $value = (string) $value; $this->eventLayout[$flag][$value] = $layout; }