src/CssConverter.php
public function convertBackgroundRepeat($css)
    {
        switch ($css) {
            case 'repeat':
                return array(true, true);
            case 'repeat-x':
                return array(true, false);
            case 'repeat-y':
                return array(false, true);
            case 'no-repeat':
                return array(false, false);
        }
        return null;
    }
public function convertBackgroundRepeat($css)
    {
        switch ($css) {
            case 'repeat':
                return array(true, true);
            case 'repeat-x':
                return array(true, false);
            case 'repeat-y':
                return array(false, true);
            case 'no-repeat':
                return array(false, false);
        }
        return null;
    }
public function convertBackgroundRepeat ( $ css ) { switch ( $ css ) { case 'repeat' : return array ( true , true ) ; case 'repeat-x' : return array ( true , false ) ; case 'repeat-y' : return array ( false , true ) ; case 'no-repeat' : return array ( false , false ) ; } return null ; }
Parse a background repeat

@param  string $css

@return array|null background repeat as array
Parse a background repeat