| 1 | <?php |
||
| 28 | class CssSelectors |
||
|
|
|||
| 29 | { |
||
| 30 | /** |
||
| 31 | * @static function getInstance |
||
| 32 | * @param null |
||
| 33 | * |
||
| 34 | * @return CssSelectors |
||
| 35 | */ |
||
| 36 | public static function getInstance() |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @public function geCssComment |
||
| 48 | * @param string $comment |
||
| 49 | * @param string $t |
||
| 50 | * @return string |
||
| 51 | */ |
||
| 52 | public function geCssComment($comment, $t) |
||
| 58 | |||
| 59 | /** |
||
| 60 | * @public function geCssSelector |
||
| 61 | * @param string $selector |
||
| 62 | * @param mixed $content |
||
| 63 | * @param string $t |
||
| 64 | * @return string |
||
| 65 | */ |
||
| 66 | public function geCssSelector($selector, $content, $t) |
||
| 83 | } |
||
| 84 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.