| Total Complexity | 2 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class StripeSlackShortcodeParser implements ShortcodeHandler |
||
| 11 | { |
||
| 12 | |||
| 13 | /** |
||
| 14 | * Gets the list of shortcodes provided by this handler |
||
| 15 | * |
||
| 16 | * @return mixed |
||
| 17 | */ |
||
| 18 | public static function get_shortcodes() |
||
| 21 | } |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Generate content with a shortcode value |
||
| 25 | * |
||
| 26 | * @param array $arguments Arguments passed to the parser |
||
| 27 | * @param string $content Raw shortcode |
||
| 28 | * @param ShortcodeParser $parser Parser |
||
| 29 | * @param string $shortcode Name of shortcode used to register this handler |
||
| 30 | * @param array $extra Extra arguments |
||
| 31 | * @return string Result of the handled shortcode |
||
| 32 | */ |
||
| 33 | public static function handle_shortcode($arguments, $content, $parser, $shortcode, $extra = array()) |
||
| 38 |