private function loadCustomerData()
    {
        $custId = $this->registry->registry(\Magento\Customer\Controller\RegistryConstants::CURRENT_CUSTOMER_ID);
        if ($custId) {
            $query = $this->qLoad->build();
            $conn = $query->getConnection();
            $bind = [
                QLoad::BND_CUST_ID => $custId
            ];
            $rs = $conn->fetchAll($query, $bind);
            $this->cacheCustData = reset($rs);
        }
    }
private function loadCustomerData()
    {
        $custId = $this->registry->registry(\Magento\Customer\Controller\RegistryConstants::CURRENT_CUSTOMER_ID);
        if ($custId) {
            $query = $this->qLoad->build();
            $conn = $query->getConnection();
            $bind = [
                QLoad::BND_CUST_ID => $custId
            ];
            $rs = $conn->fetchAll($query, $bind);
            $this->cacheCustData = reset($rs);
        }
    }
private function loadCustomerData ( ) { $ custId = $ this -> registry -> registry ( \ Magento \ Customer \ Controller \ RegistryConstants :: CURRENT_CUSTOMER_ID ) ; if ( $ custId ) { $ query = $ this -> qLoad -> build ( ) ; $ conn = $ query -> getConnection ( ) ; $ bind = [ QLoad :: BND_CUST_ID => $ custId ] ; $ rs = $ conn -> fetchAll ( $ query , $ bind ) ; $ this -> cacheCustData = reset ( $ rs ) ; } }
Load block's working data before rendering.
Load block s working data before rendering .