1 | <?php |
||
29 | class DatabaseInspector extends Client |
||
30 | { |
||
31 | |||
32 | use InspectorTrait; |
||
33 | |||
34 | /** |
||
35 | * getClientType |
||
36 | * |
||
37 | * @see ClientInterface |
||
38 | */ |
||
39 | public function getClientType() |
||
43 | |||
44 | /** |
||
45 | * getClientIdentifier |
||
46 | * |
||
47 | * @see ClientInterface |
||
48 | */ |
||
49 | public function getClientIdentifier() |
||
53 | |||
54 | /** |
||
55 | * getVersion |
||
56 | * |
||
57 | * Return server version. |
||
58 | * |
||
59 | * @return string |
||
60 | */ |
||
61 | public function getVersion() |
||
70 | |||
71 | /** |
||
72 | * getSizePretty |
||
73 | * |
||
74 | * Return the human readable size of the inspected database. |
||
75 | * |
||
76 | * @return string |
||
77 | */ |
||
78 | public function getSizePretty() |
||
87 | |||
88 | /** |
||
89 | * getSize |
||
90 | * |
||
91 | * Return the database size in bytes |
||
92 | * |
||
93 | * @return int |
||
94 | */ |
||
95 | public function getSize() |
||
104 | |||
105 | /** |
||
106 | * getName |
||
107 | * |
||
108 | * Return the database name |
||
109 | * |
||
110 | * @return string |
||
111 | */ |
||
112 | public function getName() |
||
121 | } |
||
122 |