| Total Complexity | 6 |
| Total Lines | 60 |
| Duplicated Lines | 0 % |
| Coverage | 64.71% |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | class ComTraceSubject |
||
| 6 | { |
||
| 7 | private $file; |
||
| 8 | |||
| 9 | private $class; |
||
| 10 | |||
| 11 | private $function; |
||
| 12 | |||
| 13 | private $arguments; |
||
| 14 | |||
| 15 | /** @var null */ |
||
| 16 | private $called_from_class; |
||
| 17 | |||
| 18 | 2 | public function __construct($file, $class, $function, $arguments, $called_from_class = null) |
|
| 19 | { |
||
| 20 | 2 | $this->file = $file; |
|
| 21 | 2 | $this->class = $class; |
|
| 22 | 2 | $this->function = $function; |
|
| 23 | 2 | $this->arguments = $arguments; |
|
| 24 | 2 | $this->called_from_class = $called_from_class; |
|
| 25 | 2 | } |
|
| 26 | |||
| 27 | /** |
||
| 28 | * @return mixed |
||
| 29 | */ |
||
| 30 | public function getFile() |
||
| 31 | { |
||
| 32 | return $this->file; |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @return mixed |
||
| 37 | */ |
||
| 38 | 2 | public function getClass() |
|
| 39 | { |
||
| 40 | 2 | return $this->class; |
|
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @return mixed |
||
| 45 | */ |
||
| 46 | public function getFunction() |
||
| 47 | { |
||
| 48 | return $this->function; |
||
| 49 | } |
||
| 50 | |||
| 51 | /** |
||
| 52 | * @return mixed |
||
| 53 | */ |
||
| 54 | 2 | public function getArguments() |
|
| 55 | { |
||
| 56 | 2 | return $this->arguments; |
|
| 57 | } |
||
| 58 | |||
| 59 | /** |
||
| 60 | * @return null |
||
| 61 | */ |
||
| 62 | public function getCalledFromClass() |
||
| 65 | } |
||
| 66 | } |
||
| 67 |