Esempio n. 1
0
 public function compare($x)
 {
     if (!avada_Less_Parser::is_method($x, 'toCSS')) {
         return -1;
     }
     $left = $this->toCSS();
     $right = $x->toCSS();
     if ($left === $right) {
         return 0;
     }
     return $left < $right ? -1 : 1;
 }