Total Complexity | 4 |
Total Lines | 48 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
15 | class RequirejsGlobal |
||
16 | { |
||
17 | /** |
||
18 | * Constructor |
||
19 | * |
||
20 | * @param array $config |
||
21 | * @param bool $debug |
||
22 | */ |
||
23 | public function __construct($config, $debug = false) |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * Set debugging flag. With debugging on, the source files are used as resources in stead of the target files. |
||
31 | * |
||
32 | * @param bool $debug |
||
33 | * @return void |
||
34 | */ |
||
35 | public function setDebug($debug) |
||
36 | { |
||
37 | $this->debug = (bool)$debug; |
||
38 | } |
||
39 | |||
40 | /** |
||
41 | * @return null|string |
||
42 | */ |
||
43 | public function getSourceFile() |
||
63 | } |
||
64 | } |
||
65 |