private function getDwnlSnap($datestamp)
    {
        $result = [];
        $query = $this->qSnapOnDate->build();
        $query->order(QSnapOnDate::AS_DWNL_SNAP . '.' . ESnap::A_DEPTH);
        $conn = $query->getConnection();
        $bind = [
            QSnapOnDate::BND_ON_DATE => $datestamp
        ];
        $rows = $conn->fetchAll($query, $bind);
        foreach ($rows as $one) {
            $item = new ESnap($one);
            $custId = $item->getCustomerRef();
            $result[$custId] = $item;
        }
        return $result;
    }
private function getDwnlSnap($datestamp)
    {
        $result = [];
        $query = $this->qSnapOnDate->build();
        $query->order(QSnapOnDate::AS_DWNL_SNAP . '.' . ESnap::A_DEPTH);
        $conn = $query->getConnection();
        $bind = [
            QSnapOnDate::BND_ON_DATE => $datestamp
        ];
        $rows = $conn->fetchAll($query, $bind);
        foreach ($rows as $one) {
            $item = new ESnap($one);
            $custId = $item->getCustomerRef();
            $result[$custId] = $item;
        }
        return $result;
    }
private function getDwnlSnap ( $ datestamp ) { $ result = [ ] ; $ query = $ this -> qSnapOnDate -> build ( ) ; $ query -> order ( QSnapOnDate :: AS_DWNL_SNAP . '.' . ESnap :: A_DEPTH ) ; $ conn = $ query -> getConnection ( ) ; $ bind = [ QSnapOnDate :: BND_ON_DATE => $ datestamp ] ; $ rows = $ conn -> fetchAll ( $ query , $ bind ) ; foreach ( $ rows as $ one ) { $ item = new ESnap ( $ one ) ; $ custId = $ item -> getCustomerRef ( ) ; $ result [ $ custId ] = $ item ; } return $ result ; }
Load downline snapshot on the given date.

@param string $datestamp
@return ESnap[]
@throws \Exception
Load downline snapshot on the given date .