ShortcodeInterface.php
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * ====================================================================== |
| 5 | * LICENSE: This file is subject to the terms and conditions defined in * |
| 6 | * file 'license.txt', which is part of this source code package. * |
| 7 | * ====================================================================== |
| 8 | * |
| 9 | * @version 6.0.0 |
| 10 | */ |
| 11 | |
| 12 | /** |
| 13 | * AAM shortcode strategy interface |
| 14 | * |
| 15 | * @package AAM |
| 16 | * @version 6.0.0 |
| 17 | */ |
| 18 | interface AAM_Core_Contract_ShortcodeInterface |
| 19 | { |
| 20 | |
| 21 | /** |
| 22 | * Initialize shortcode strategy |
| 23 | * |
| 24 | * @param array $args |
| 25 | * @param string $content |
| 26 | * |
| 27 | * @return void |
| 28 | * |
| 29 | * @access public |
| 30 | * @version 6.0.0 |
| 31 | */ |
| 32 | public function __construct($args, $content); |
| 33 | |
| 34 | /** |
| 35 | * Process shortcode strategy |
| 36 | * |
| 37 | * @return string |
| 38 | * |
| 39 | * @access public |
| 40 | * @version 6.0.0 |
| 41 | */ |
| 42 | public function run(); |
| 43 | |
| 44 | } |