Conditions | 3 |
Paths | 4 |
Total Lines | 14 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
96 | private function addAttribute(string $file, bool $enableVersioning) |
||
97 | { |
||
98 | try { |
||
99 | if ($enableVersioning === true) { |
||
100 | $output = $this->builder->attribute($file)."=\"".$file.$this->vasriManifest[$file]['version']."\""; |
||
101 | } else { |
||
102 | $output = $this->builder->attribute($file)."=\"".$file."\""; |
||
103 | } |
||
104 | |||
105 | return $output; |
||
106 | } catch (Exception $e) { |
||
107 | throw new Exception($e); |
||
108 | } |
||
109 | } |
||
110 | |||
123 |