1 | <?php |
||
15 | abstract class WordPoints_Hook_Reaction implements WordPoints_Hook_ReactionI { |
||
16 | |||
17 | /** |
||
18 | * @since 1.0.0 |
||
19 | */ |
||
20 | protected $ID; |
||
21 | |||
22 | /** |
||
23 | * The reaction storage object. |
||
24 | * |
||
25 | * @since 1.0.0 |
||
26 | * |
||
27 | * @var WordPoints_Hook_Reaction_StorageI |
||
28 | */ |
||
29 | protected $storage; |
||
30 | |||
31 | // |
||
32 | // Public Methods. |
||
33 | // |
||
34 | |||
35 | /** |
||
36 | * @since 1.0.0 |
||
37 | */ |
||
38 | public function __construct( $id, WordPoints_Hook_Reaction_StorageI $storage ) { |
||
43 | |||
44 | /** |
||
45 | * @since 1.0.0 |
||
46 | */ |
||
47 | public function __get( $var ) { |
||
55 | |||
56 | /** |
||
57 | * @since 1.0.0 |
||
58 | */ |
||
59 | public function get_reactor_slug() { |
||
62 | |||
63 | /** |
||
64 | * @since 1.0.0 |
||
65 | */ |
||
66 | public function get_storage_group_slug() { |
||
69 | |||
70 | /** |
||
71 | * @since 1.0.0 |
||
72 | */ |
||
73 | public function get_context_id() { |
||
76 | } |
||
77 | |||
79 |