/**
* Set a new instance of the theme that implements Themes interface.
*
* @param ThemeInterface $theme Theme interface.
*
* @return void
*
* @access public
*/
public static function setTheme(ThemeInterface $theme): void
Examples
use function Thermage\heading;
use function Thermage\render;
// ...
heading()::setTheme(new RadTheme());
Getting Started
Methods
- d Set Heading element display style.
- getShortcodes Get Heading element shortcodes instance.
- getTheme Get Heading element theme.
- getValue Get Heading element value.
- render Render Heading element.
- setShortcodes Set Heading element shortcodes instance.
- setTheme Set Heading element theme instance.
- size Set Heading size.
- textAlign Set Heading element text align.
- value Set Heading element value.