Passed
Push — master ( 35deb2...555729 )
by Jean-Christophe
03:41
created

HtmlUtils::javascriptInclude()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 1
dl 0
loc 2
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Ajax\common\html\html5;
4
5
class HtmlUtils {
6
	public static function javascriptInclude($url){
7
		return '<script src="'.$url.'"></script>';
8
	}
9
	
10
	public static function stylesheetInclude($url){
11
		return '<link rel="stylesheet" type="text/css" href="'.$url.'">';
12
	}
13
}
14