Skip to content

Commit d801fe7

Browse files
committed
Merge pull request MyIntervals#41 from Metrodigi/getType
Add ability to get type for @rules
2 parents 257293f + dce353b commit d801fe7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/CSSRuleSet.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,11 @@ public function __construct($sType) {
7777
parent::__construct();
7878
$this->sType = $sType;
7979
}
80-
80+
81+
public function getType() {
82+
return $this->sType;
83+
}
84+
8185
public function __toString() {
8286
$sResult = "@{$this->sType} {";
8387
$sResult .= parent::__toString();

0 commit comments

Comments
 (0)