Proxy::setInstanceClass()
last analyzed

Size

Total Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 1
c 0
b 0
f 0
1
<?php
2
3
namespace PHPRealCoverage\Proxy;
4
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);
0 ignored issues
show
Coding Style Naming introduced by
The method __PROXYcreateInstance is not named in camelCase.

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.

Loading history...
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();
0 ignored issues
show
Coding Style Naming introduced by
The method __PROXYcheckInstance is not named in camelCase.

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.

Loading history...
29
}
30