(
&self, class_name: Option<&str>, function_name: &str,
)
| 158 | } |
| 159 | |
| 160 | fn hook( |
| 161 | &self, class_name: Option<&str>, function_name: &str, |
| 162 | ) -> Option<( |
| 163 | Box<crate::execute::BeforeExecuteHook>, |
| 164 | Box<crate::execute::AfterExecuteHook>, |
| 165 | )> { |
| 166 | match (class_name, function_name) { |
| 167 | (Some(class_name @ "Predis\\Client"), "__call") => { |
| 168 | Some(self.hook_predis_execute_command(class_name, function_name)) |
| 169 | } |
| 170 | _ => None, |
| 171 | } |
| 172 | } |
| 173 | } |
| 174 | |
| 175 | enum ConnectionType { |
nothing calls this directly
no test coverage detected