Skip to content

Commit 277a0d3

Browse files
author
Andreas Sandberg
committed
Adding ability to retrieve type for @rules
1 parent 4dd2a1c commit 277a0d3

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)