1 | <?php |
||
7 | abstract class Shortcode implements ShortcodeContract |
||
8 | { |
||
9 | /** |
||
10 | * The shortcode attributes. |
||
11 | * |
||
12 | * @var array |
||
13 | */ |
||
14 | public $attributes; |
||
15 | |||
16 | /** |
||
17 | * The content of the shortcode. |
||
18 | * |
||
19 | * @var string |
||
20 | */ |
||
21 | public $content; |
||
22 | |||
23 | /** |
||
24 | * The shortcode tag. |
||
25 | * |
||
26 | * @var string |
||
27 | */ |
||
28 | public static $shortcode; |
||
29 | |||
30 | public function __construct($attributes, $content) |
||
35 | |||
36 | public function __get($name) |
||
46 | } |
||
47 |