1 | <?php |
||
18 | class FirebaseModel |
||
19 | { |
||
20 | |||
21 | /** |
||
22 | * @var string |
||
23 | */ |
||
24 | public static $nodeName = ''; |
||
25 | |||
26 | /** |
||
27 | * @var string |
||
28 | */ |
||
29 | public $key; |
||
30 | |||
31 | /** |
||
32 | * @var JCFirebase |
||
33 | */ |
||
34 | public $firebase; |
||
35 | |||
36 | /** |
||
37 | * FirebaseModel constructor. |
||
38 | * |
||
39 | * @param \JCFirebase\JCFirebase $firebase |
||
40 | */ |
||
41 | public function __construct(JCFirebase $firebase = null) |
||
45 | |||
46 | public static function getNodeName() |
||
50 | |||
51 | /** |
||
52 | * @return array |
||
53 | */ |
||
54 | public function getData() |
||
62 | |||
63 | /** |
||
64 | * @return bool |
||
65 | */ |
||
66 | public function create() |
||
76 | |||
77 | |||
78 | /** |
||
79 | * @return bool |
||
80 | */ |
||
81 | public function save() |
||
95 | |||
96 | /** |
||
97 | * @return bool |
||
98 | */ |
||
99 | public function delete() |
||
110 | |||
111 | /** |
||
112 | * @param $key |
||
113 | * @param JCFirebase $firebase |
||
114 | * |
||
115 | * @return object |
||
116 | */ |
||
117 | public static function findByKey($key, JCFirebase $firebase) |
||
130 | |||
131 | /** |
||
132 | * @param JCFirebase $firebase |
||
133 | * |
||
134 | * @return array(FirebaseModel) |
||
|
|||
135 | */ |
||
136 | public static function findAll(JCFirebase $firebase) |
||
154 | } |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.