/** * @param Style $style * @return $this */ public function addStyle(Style $style) { self::$styles[$style->getName()] = $style; return $this; }