| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 32 | 
| Code Lines | 18 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 59 | public function getConnectors() | ||
| 60 |     { | ||
| 61 | return [ | ||
| 62 | [ | ||
| 63 | [ | ||
| 64 | "connector" => "blocking", | ||
| 65 | "driver" => "mysql", | ||
| 66 | "username" => "root", | ||
| 67 | "password" => "", | ||
| 68 | "schema" => "icicle", | ||
| 69 | ], | ||
| 70 | ], | ||
| 71 | [ | ||
| 72 | [ | ||
| 73 | "connector" => "doorman", | ||
| 74 | "driver" => "mysql", | ||
| 75 | "username" => "root", | ||
| 76 | "password" => "", | ||
| 77 | "schema" => "icicle", | ||
| 78 | "remit" => [ | ||
| 79 | "driver" => "zeromq", | ||
| 80 | "server" => [ | ||
| 81 | "port" => 5555, | ||
| 82 | ], | ||
| 83 | "client" => [ | ||
| 84 | "port" => 5556, | ||
| 85 | ], | ||
| 86 | ], | ||
| 87 | ], | ||
| 88 | ], | ||
| 89 | ]; | ||
| 90 | } | ||
| 91 | } | ||
| 92 | 
If you implement
__calland you know which methods are available, you can improve IDE auto-completion and static analysis by adding a @method annotation to the class.This is often the case, when
__callis implemented by a parent class and only the child class knows which methods exist: