public function getPhonebook()
    {
        $entries = Connection::sendCurlRequest(Connection::URL_PHONEBOOK . '_' . $this->iden, 'GET', null, false,
            $this->apiKey)->phonebook;

        $objEntries = [];
        foreach ($entries as $e) {
            $objEntries[] = new PhonebookEntry($e, $this);
        }

        return $objEntries;
    }
public function getPhonebook()
    {
        $entries = Connection::sendCurlRequest(Connection::URL_PHONEBOOK . '_' . $this->iden, 'GET', null, false,
            $this->apiKey)->phonebook;

        $objEntries = [];
        foreach ($entries as $e) {
            $objEntries[] = new PhonebookEntry($e, $this);
        }

        return $objEntries;
    }
public function getPhonebook ( ) { $ entries = Connection :: sendCurlRequest ( Connection :: URL_PHONEBOOK . '_' . $ this -> iden , 'GET' , null , false , $ this -> apiKey ) -> phonebook ; $ objEntries = [ ] ; foreach ( $ entries as $ e ) { $ objEntries [ ] = new PhonebookEntry ( $ e , $ this ) ; } return $ objEntries ; }
Get the device's phonebook.

@return PhonebookEntry[] Phonebook entries.
@throws Exceptions\ConnectionException
Get the device s phonebook .