protected function setQueryCount(string $query)
    {
        if ('' === $query) {
            throw new \InvalidArgumentException('setQueryCount require a valid string argument');
        }
        $this->queryCount = $query;
        $this->countMethod = self::COUNT_METHOD_QUERY;
    }
protected function setQueryCount(string $query)
    {
        if ('' === $query) {
            throw new \InvalidArgumentException('setQueryCount require a valid string argument');
        }
        $this->queryCount = $query;
        $this->countMethod = self::COUNT_METHOD_QUERY;
    }
protected function setQueryCount ( string $ query ) { if ( '' === $ query ) { throw new \ InvalidArgumentException ( 'setQueryCount require a valid string argument' ) ; } $ this -> queryCount = $ query ; $ this -> countMethod = self :: COUNT_METHOD_QUERY ; }
Set the SQL to query the count of records
This set the countMethod to COUNT_METHOD_QUERY
@param string $query
@return void
Set the SQL to query the count of records This set the countMethod to COUNT_METHOD_QUERY