src/DataTableAbstract.php
protected function smartGlobalSearch($keyword)
    {
        collect(explode(' ', $keyword))
            ->reject(function ($keyword) {
                return trim($keyword) === '';
            })
            ->each(function ($keyword) {
                $this->globalSearch($keyword);
            });
    }
protected function smartGlobalSearch($keyword)
    {
        collect(explode(' ', $keyword))
            ->reject(function ($keyword) {
                return trim($keyword) === '';
            })
            ->each(function ($keyword) {
                $this->globalSearch($keyword);
            });
    }
protected function smartGlobalSearch ( $ keyword ) { collect ( explode ( ' ' , $ keyword ) ) -> reject ( function ( $ keyword ) { return trim ( $ keyword ) === '' ; } ) -> each ( function ( $ keyword ) { $ this -> globalSearch ( $ keyword ) ; } ) ; }
Perform multi-term search by splitting keyword into
individual words and searches for each of them.

@param string $keyword
Perform multi - term search by splitting keyword into individual words and searches for each of them .