-
Notifications
You must be signed in to change notification settings - Fork 93
Expand file tree
/
Copy pathclass-fs-entity.php
More file actions
93 lines (80 loc) · 1.74 KB
/
Copy pathclass-fs-entity.php
File metadata and controls
93 lines (80 loc) · 1.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<?php
/**
* @param mixed $object
*
* @return array<string, mixed>
*/
function fs_get_object_public_vars($object) {
return [];
}
class FS_Entity {
/**
* @var int
*/
public $id;
/**
* @var string
*/
public $updated;
/**
* @var string
*/
public $created;
/**
* FS_Entity constructor.
* @param mixed $entity
*/
function __construct($entity = false) {
// Implementation here
}
/**
* @return string
*/
static function get_type() {
// Implementation here
return '';
}
/**
* @param mixed $entity1
* @param mixed $entity2
* @return bool
*/
static function equals($entity1, $entity2) {
// Implementation here
return false;
}
/**
* @var bool
*/
private $_is_updated = false;
/**
* @param string $key
* @param bool $val
* @return bool
*/
function update($key, $val = false) {
return false;
}
/**
* @return bool
*/
function is_updated() {
// Implementation here
return $this->_is_updated;
}
/**
* @param int $id
* @return bool
*/
static function is_valid_id($id) {
// Implementation here
return false;
}
/**
* @return string
*/
public static function get_class_name() {
// Implementation here
return '';
}
}