public function store($memberList)
    {
        foreach ($memberList as $contact) {
            if (in_array($contact['UserName'], static::SPECIAL_USERS)) {
                $this->vbot->specials->put($contact['UserName'], $contact);
            } elseif ($this->vbot->officials->isOfficial($contact['VerifyFlag'])) {
                $this->vbot->officials->put($contact['UserName'], $contact);
            } elseif (strstr($contact['UserName'], '@@') !== false) {
                $this->vbot->groups->put($contact['UserName'], $contact);
            } else {
                $this->vbot->friends->put($contact['UserName'], $contact);
            }
        }
    }
public function store($memberList)
    {
        foreach ($memberList as $contact) {
            if (in_array($contact['UserName'], static::SPECIAL_USERS)) {
                $this->vbot->specials->put($contact['UserName'], $contact);
            } elseif ($this->vbot->officials->isOfficial($contact['VerifyFlag'])) {
                $this->vbot->officials->put($contact['UserName'], $contact);
            } elseif (strstr($contact['UserName'], '@@') !== false) {
                $this->vbot->groups->put($contact['UserName'], $contact);
            } else {
                $this->vbot->friends->put($contact['UserName'], $contact);
            }
        }
    }
public function store ( $ memberList ) { foreach ( $ memberList as $ contact ) { if ( in_array ( $ contact [ 'UserName' ] , static :: SPECIAL_USERS ) ) { $ this -> vbot -> specials -> put ( $ contact [ 'UserName' ] , $ contact ) ; } elseif ( $ this -> vbot -> officials -> isOfficial ( $ contact [ 'VerifyFlag' ] ) ) { $ this -> vbot -> officials -> put ( $ contact [ 'UserName' ] , $ contact ) ; } elseif ( strstr ( $ contact [ 'UserName' ] , '@@' ) !== false ) { $ this -> vbot -> groups -> put ( $ contact [ 'UserName' ] , $ contact ) ; } else { $ this -> vbot -> friends -> put ( $ contact [ 'UserName' ] , $ contact ) ; } } }
create and save contacts to collections.

@param $memberList
create and save contacts to collections .