| Total Complexity | 2 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class Factory |
||
| 10 | { |
||
| 11 | const BAR = 'bar'; |
||
| 12 | const BUBBLE = 'bubble'; |
||
| 13 | const DOUGHNUT = 'doughnut'; |
||
| 14 | const HORIZONTAL_BAR = 'horizontalBar'; |
||
| 15 | const LINE = 'line'; |
||
| 16 | const PIE = 'pie'; |
||
| 17 | const POLAR_AREA = 'polarArea'; |
||
| 18 | const RADAR = 'radar'; |
||
| 19 | const SCATTER = 'scatter'; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param $type |
||
| 23 | * |
||
| 24 | * @return Chart |
||
| 25 | */ |
||
| 26 | public function create($type) |
||
| 38 |