public function setSource($source): void
    {
        if (!$source instanceof Db\Query\Select) {
            throw new Grid\GridException('Source of `SelectSource` should be `Db\\Query\\Select` object');
        }
        parent::setSource($source);
    }
public function setSource($source): void
    {
        if (!$source instanceof Db\Query\Select) {
            throw new Grid\GridException('Source of `SelectSource` should be `Db\\Query\\Select` object');
        }
        parent::setSource($source);
    }
public function setSource ( $ source ) : void { if ( ! $ source instanceof Db \ Query \ Select ) { throw new Grid \ GridException ( 'Source of `SelectSource` should be `Db\\Query\\Select` object' ) ; } parent :: setSource ( $ source ) ; }
Set Select source

@param  Db\Query\Select $source

@throws Grid\GridException
@return void
Set Select source