shortcode_manager extends facade
Facade for local_middag\framework\application\manager\shortcode_manager.
Tags
Table of Contents
Methods
- clear() : void
- get_facade_accessor() : string
- Return the service accessor key for this facade.
- has() : bool
- register() : void
- render() : string
Methods
clear()
public
static clear() : void
get_facade_accessor()
Return the service accessor key for this facade.
public
static get_facade_accessor() : string
Return values
stringhas()
public
static has(string $tag) : bool
Parameters
- $tag : string
Return values
boolregister()
public
static register(string $tag, callable $callback) : void
Parameters
- $tag : string
- $callback : callable
render()
public
static render(string $text) : string
Parameters
- $text : string