public function setAlign($align)
    {
        if (!in_array($align, self::$aligns)) {
            throw new \InvalidArgumentException(sprintf('Unsupported align %s, just left, right and center are supported', $align));
        }

        $this->align = $align;

        return $this;
    }
public function setAlign($align)
    {
        if (!in_array($align, self::$aligns)) {
            throw new \InvalidArgumentException(sprintf('Unsupported align %s, just left, right and center are supported', $align));
        }

        $this->align = $align;

        return $this;
    }
public function setAlign ( $ align ) { if ( ! in_array ( $ align , self :: $ aligns ) ) { throw new \ InvalidArgumentException ( sprintf ( 'Unsupported align %s, just left, right and center are supported' , $ align ) ) ; } $ this -> align = $ align ; return $ this ; }
Set column align.

@param string $align left/right/center

@return $this
Set column align .