public function setFormatter(FormatterInterface $formatter, array $columns): self
    {
        $this->search()->in($columns)->setFormatter($formatter);

        return $this;
    }
public function setFormatter(FormatterInterface $formatter, array $columns): self
    {
        $this->search()->in($columns)->setFormatter($formatter);

        return $this;
    }
public function setFormatter ( FormatterInterface $ formatter , array $ columns ) : self { $ this -> search ( ) -> in ( $ columns ) -> setFormatter ( $ formatter ) ; return $ this ; }
Set formatter to specific columns.

@throws Exception\InvalidArgumentException

@param FormatterInterface $formatter
@param string[]           $columns
Set formatter to specific columns .