public function getChildren()
    {
        $addressbooks = $this->carddavBackend->getAddressBooksForUser($this->principalUri);
        $objs = [];
        foreach ($addressbooks as $addressbook) {
            $objs[] = new AddressBook($this->carddavBackend, $addressbook);
        }

        return $objs;
    }
public function getChildren()
    {
        $addressbooks = $this->carddavBackend->getAddressBooksForUser($this->principalUri);
        $objs = [];
        foreach ($addressbooks as $addressbook) {
            $objs[] = new AddressBook($this->carddavBackend, $addressbook);
        }

        return $objs;
    }
public function getChildren ( ) { $ addressbooks = $ this -> carddavBackend -> getAddressBooksForUser ( $ this -> principalUri ) ; $ objs = [ ] ; foreach ( $ addressbooks as $ addressbook ) { $ objs [ ] = new AddressBook ( $ this -> carddavBackend , $ addressbook ) ; } return $ objs ; }
Returns a list of addressbooks.

@return array
Returns a list of addressbooks .