File tree Expand file tree Collapse file tree 1 file changed +31
-1
lines changed Expand file tree Collapse file tree 1 file changed +31
-1
lines changed Original file line number Diff line number Diff line change 66use Sabberworm \CSS \OutputFormat ;
77
88/**
9- * CSSNamespace represents an @namespace rule.
9+ * ` CSSNamespace` represents an ` @namespace` rule.
1010 */
1111class CSSNamespace implements AtRule
1212{
13+ /**
14+ * @var string
15+ */
1316 private $ mUrl ;
1417
18+ /**
19+ * @var string
20+ */
1521 private $ sPrefix ;
1622
23+ /**
24+ * @var int
25+ */
1726 private $ iLineNo ;
1827
1928 /**
2029 * @var array<array-key, Comment>
2130 */
2231 protected $ aComments ;
2332
33+ /**
34+ * @param string $mUrl
35+ * @param string|null $sPrefix
36+ * @param int $iLineNo
37+ */
2438 public function __construct ($ mUrl , $ sPrefix = null , $ iLineNo = 0 )
2539 {
2640 $ this ->mUrl = $ mUrl ;
@@ -54,21 +68,37 @@ public function render(OutputFormat $oOutputFormat)
5468 . $ this ->mUrl ->render ($ oOutputFormat ) . '; ' ;
5569 }
5670
71+ /**
72+ * @return string
73+ */
5774 public function getUrl ()
5875 {
5976 return $ this ->mUrl ;
6077 }
6178
79+ /**
80+ * @return string|null
81+ */
6282 public function getPrefix ()
6383 {
6484 return $ this ->sPrefix ;
6585 }
6686
87+ /**
88+ * @param string $mUrl
89+ *
90+ * @return void
91+ */
6792 public function setUrl ($ mUrl )
6893 {
6994 $ this ->mUrl = $ mUrl ;
7095 }
7196
97+ /**
98+ * @param string $sPrefix
99+ *
100+ * @return void
101+ */
72102 public function setPrefix ($ sPrefix )
73103 {
74104 $ this ->sPrefix = $ sPrefix ;
You can’t perform that action at this time.
0 commit comments