public function add($value, array $attributes = null)
        {
            $cell = $value;
            if (is_string($value)) {
                $cell = new Cell($value, $attributes);
            }

            $this->_cells[] = $cell;

            return $this;
        }
public function add($value, array $attributes = null)
        {
            $cell = $value;
            if (is_string($value)) {
                $cell = new Cell($value, $attributes);
            }

            $this->_cells[] = $cell;

            return $this;
        }
public function add ( $ value , array $ attributes = null ) { $ cell = $ value ; if ( is_string ( $ value ) ) { $ cell = new Cell ( $ value , $ attributes ) ; } $ this -> _cells [ ] = $ cell ; return $ this ; }
Adds a cell to the row

@param string|Cell $cell
@param array $attributes
Adds a cell to the row