File tree Expand file tree Collapse file tree 8 files changed +57
-0
lines changed Expand file tree Collapse file tree 8 files changed +57
-0
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,14 @@ public function getLineNo()
29
29
return $ this ->iLineNum ;
30
30
}
31
31
32
+ /**
33
+ * @param int $iLineNum
34
+ */
35
+ public function setLineNo ($ iLineNum = 0 )
36
+ {
37
+ $ this ->iLineNum = $ iLineNum ;
38
+ }
39
+
32
40
public function append ($ oItem ) {
33
41
$ this ->aContents [] = $ oItem ;
34
42
}
Original file line number Diff line number Diff line change @@ -23,6 +23,14 @@ public function getLineNo() {
23
23
return $ this ->iLineNum ;
24
24
}
25
25
26
+ /**
27
+ * @param int $iLineNum
28
+ */
29
+ public function setLineNo ($ iLineNum = 0 )
30
+ {
31
+ $ this ->iLineNum = $ iLineNum ;
32
+ }
33
+
26
34
public function __toString () {
27
35
return $ this ->render (new \Sabberworm \CSS \OutputFormat ());
28
36
}
Original file line number Diff line number Diff line change @@ -26,6 +26,14 @@ public function getLineNo() {
26
26
return $ this ->iLineNum ;
27
27
}
28
28
29
+ /**
30
+ * @param int $iLineNum
31
+ */
32
+ public function setLineNo ($ iLineNum = 0 )
33
+ {
34
+ $ this ->iLineNum = $ iLineNum ;
35
+ }
36
+
29
37
public function setCharset ($ sCharset ) {
30
38
$ this ->sCharset = $ sCharset ;
31
39
}
Original file line number Diff line number Diff line change @@ -25,6 +25,14 @@ public function getLineNo() {
25
25
return $ this ->iLineNum ;
26
26
}
27
27
28
+ /**
29
+ * @param int $iLineNum
30
+ */
31
+ public function setLineNo ($ iLineNum = 0 )
32
+ {
33
+ $ this ->iLineNum = $ iLineNum ;
34
+ }
35
+
28
36
public function setLocation ($ oLocation ) {
29
37
$ this ->oLocation = $ oLocation ;
30
38
}
Original file line number Diff line number Diff line change @@ -6,4 +6,5 @@ interface Renderable {
6
6
public function __toString ();
7
7
public function render (\Sabberworm \CSS \OutputFormat $ oOutputFormat );
8
8
public function getLineNo ();
9
+ public function setLineNo ();
9
10
}
Original file line number Diff line number Diff line change @@ -32,6 +32,14 @@ public function getLineNo()
32
32
return $ this ->iLineNum ;
33
33
}
34
34
35
+ /**
36
+ * @param int $iLineNum
37
+ */
38
+ public function setLineNo ($ iLineNum = 0 )
39
+ {
40
+ $ this ->iLineNum = $ iLineNum ;
41
+ }
42
+
35
43
public function setRule ($ sRule ) {
36
44
$ this ->sRule = $ sRule ;
37
45
}
Original file line number Diff line number Diff line change @@ -27,6 +27,14 @@ public function getLineNo()
27
27
return $ this ->iLineNum ;
28
28
}
29
29
30
+ /**
31
+ * @param int $iLineNum
32
+ */
33
+ public function setLineNo ($ iLineNum = 0 )
34
+ {
35
+ $ this ->iLineNum = $ iLineNum ;
36
+ }
37
+
30
38
public function addRule (Rule $ oRule ) {
31
39
$ sRule = $ oRule ->getRule ();
32
40
if (!isset ($ this ->aRules [$ sRule ])) {
Original file line number Diff line number Diff line change @@ -19,6 +19,14 @@ public function getLineNo()
19
19
return $ this ->iLineNum ;
20
20
}
21
21
22
+ /**
23
+ * @param int $iLineNum
24
+ */
25
+ public function setLineNo ($ iLineNum = 0 )
26
+ {
27
+ $ this ->iLineNum = $ iLineNum ;
28
+ }
29
+
22
30
//Methods are commented out because re-declaring them here is a fatal error in PHP < 5.3.9
23
31
//public abstract function __toString();
24
32
//public abstract function render(\Sabberworm\CSS\OutputFormat $oOutputFormat);
You can’t perform that action at this time.
0 commit comments