public function setOutputStyle( $style )
  {
    $possibleStyles = array(
      self::STYLE_NESTED,
      self::STYLE_EXPANDED,
      self::STYLE_COMPACT,
      self::STYLE_COMPRESSED
    );

    if ( !in_array( $style, $possibleStyles ) )
    {
      throw new \Exception( 'Invalid output style specified.' );
    }

    $this->style = $style;

    return $this;
  }
public function setOutputStyle( $style )
  {
    $possibleStyles = array(
      self::STYLE_NESTED,
      self::STYLE_EXPANDED,
      self::STYLE_COMPACT,
      self::STYLE_COMPRESSED
    );

    if ( !in_array( $style, $possibleStyles ) )
    {
      throw new \Exception( 'Invalid output style specified.' );
    }

    $this->style = $style;

    return $this;
  }
public function setOutputStyle ( $ style ) { $ possibleStyles = array ( self :: STYLE_NESTED , self :: STYLE_EXPANDED , self :: STYLE_COMPACT , self :: STYLE_COMPRESSED ) ; if ( ! in_array ( $ style , $ possibleStyles ) ) { throw new \ Exception ( 'Invalid output style specified.' ) ; } $ this -> style = $ style ; return $ this ; }
Sets the output style between the various output styles supported by SASS.

@param int $style    One of the output style constants from this class.

@return $this
@throws \Exception   If an invalid output style is specified.
Sets the output style between the various output styles supported by SASS .