public function setSource($source): void
    {
        if (!\is_string($source)) {
            throw new Grid\GridException('Source of `SqlSource` should be string with SQL query');
        }
        parent::setSource($source);
    }
public function setSource($source): void
    {
        if (!\is_string($source)) {
            throw new Grid\GridException('Source of `SqlSource` should be string with SQL query');
        }
        parent::setSource($source);
    }
public function setSource ( $ source ) : void { if ( ! \ is_string ( $ source ) ) { throw new Grid \ GridException ( 'Source of `SqlSource` should be string with SQL query' ) ; } parent :: setSource ( $ source ) ; }
Set SQL source

@param  string $source

@return void
@throws \Bluz\Grid\GridException
Set SQL source