Exemple #1
0
 public function remove($media_query)
 {
     if (!$media_query instanceof MediaQuery) {
         throw new \InvalidArgumentException("Parameter must be an instance of ju1ius\\Css\\MediaQuery");
     }
     parent::remove($media_query);
 }
Exemple #2
0
 public function getCssText($options = array())
 {
     $args = parent::getCssText($options);
     return $this->name . '(' . $args . ')';
 }