| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 5 | interface Proxy |
||
| 6 | { |
||
| 7 | public function __construct(); |
||
| 8 | |||
| 9 | /** |
||
| 10 | * Creates an instance of the original class by reflections |
||
| 11 | * @param $constructorArguments |
||
| 12 | * @return mixed |
||
| 13 | */ |
||
| 14 | public function __PROXYcreateInstance($constructorArguments); |
||
| 15 | |||
| 16 | /** |
||
| 17 | * Set class to redirect methodcalls to |
||
| 18 | * @param $instanceClass |
||
| 19 | * @return mixed |
||
| 20 | */ |
||
| 21 | public static function setInstanceClass($instanceClass); |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Make sure, that the current proxies instances original class |
||
| 25 | * is of the same type as the original class of the ...whatever... |
||
| 26 | * @return mixed |
||
| 27 | */ |
||
| 28 | public function __PROXYcheckInstance(); |
||
| 29 | } |
||
| 30 |
This check marks method names that have not been written in camelCase.
In camelCase names are written without any punctuation, the start of each new word being marked by a capital letter. Thus the name database connection string becomes
databaseConnectionString.