| Total Complexity | 7 |
| Total Lines | 45 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 6 | class Log |
||
| 7 | { |
||
| 8 | /** |
||
| 9 | * @var |
||
| 10 | */ |
||
| 11 | protected $celcatWebAPI; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * Log constructor |
||
| 15 | * @param $celcatWebAPI |
||
| 16 | */ |
||
| 17 | public function __construct($celcatWebAPI) |
||
| 18 | { |
||
| 19 | $this->celcatWebAPI = $celcatWebAPI; |
||
| 20 | } |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Adds string to logs array |
||
| 24 | * |
||
| 25 | * @param string $string |
||
| 26 | * @return void |
||
| 27 | */ |
||
| 28 | public function info($string) |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Write a string as error output. |
||
| 35 | * |
||
| 36 | * @param string $string |
||
| 37 | * @return void |
||
| 38 | */ |
||
| 39 | public function error($string) |
||
| 42 | } |
||
| 43 | |||
| 44 | public function transferLogs() |
||
| 55 | } |