/** * @return \Magento\Customer\Api\Data\CustomerInterface */ public function getCustomer() { if (!$this->customer) { $this->customer = $this->customerBuilder->populateWithArray($this->_backendSession->getCustomerData()['account'])->create(); } return $this->customer; }