src/Column/Column.php
public function createCellView(HeaderView $header, $object, $index): CellView
    {
        // The methods createCellView(), buildCellView() are called
        // explicitly here in order to be able to override either of them
        // in a custom resolved column type.

        $view = $this->type->createCellView($this, $header);

        $view->vars['row'] = $index;
        $view->value = $this->type->getValue($this, $object);
        $view->source = $object;

        $this->type->buildCellView($view, $this, $this->options);

        return $view;
    }
public function createCellView(HeaderView $header, $object, $index): CellView
    {
        // The methods createCellView(), buildCellView() are called
        // explicitly here in order to be able to override either of them
        // in a custom resolved column type.

        $view = $this->type->createCellView($this, $header);

        $view->vars['row'] = $index;
        $view->value = $this->type->getValue($this, $object);
        $view->source = $object;

        $this->type->buildCellView($view, $this, $this->options);

        return $view;
    }
{@inheritdoc}