public function countActiveUsers(array $finderParams = [], $defaultPeriod = false)
    {
        if ($defaultPeriod) {
            $finderParams = $this->formatQueryParams($finderParams);
        }
        $queryParams = FinderProvider::parseQueryParams($finderParams);
        $resultData = $this->logRepository->countActiveUsers($queryParams['allFilters']);

        return floatval($resultData);
    }
public function countActiveUsers(array $finderParams = [], $defaultPeriod = false)
    {
        if ($defaultPeriod) {
            $finderParams = $this->formatQueryParams($finderParams);
        }
        $queryParams = FinderProvider::parseQueryParams($finderParams);
        $resultData = $this->logRepository->countActiveUsers($queryParams['allFilters']);

        return floatval($resultData);
    }
public function countActiveUsers ( array $ finderParams = [ ] , $ defaultPeriod = false ) { if ( $ defaultPeriod ) { $ finderParams = $ this -> formatQueryParams ( $ finderParams ) ; } $ queryParams = FinderProvider :: parseQueryParams ( $ finderParams ) ; $ resultData = $ this -> logRepository -> countActiveUsers ( $ queryParams [ 'allFilters' ] ) ; return floatval ( $ resultData ) ; }
Retrieve user who connected at least one time on the application.

@param array $finderParams
@param bool  $defaultPeriod

@return int
Retrieve user who connected at least one time on the application .