Example #1
0
 /**
  * Retrieve username for form field
  *
  * @return string
  */
 public function getUsername()
 {
     if (-1 === $this->_username) {
         $this->_username = $this->_customerSession->getUsername(true);
     }
     return $this->_username;
 }