示例#1
0
 public function toArray()
 {
     $return = parent::toArray();
     $return["value"] = $this->identity;
     $return['domain'] = $this->domain;
     return $return;
 }
示例#2
0
 public function toArray()
 {
     $return = parent::toArray();
     foreach ($this->_credentials as $k => $credential) {
         $return[] = $credential->toArray();
     }
     return $return;
 }