src/Objects/Mailbox.php
public function toLdapArray()
    {
        return [
            'exchange_homemdb' => $this->container.','.$this->baseDn,
            'exchange_proxyaddress' => 'SMTP:'.$this->emailAddress,
            'exchange_mailnickname' => $this->mailNickname,
            'exchange_usedefaults' => $this->mdbUseDefaults,
        ];
    }
public function toLdapArray()
    {
        return [
            'exchange_homemdb' => $this->container.','.$this->baseDn,
            'exchange_proxyaddress' => 'SMTP:'.$this->emailAddress,
            'exchange_mailnickname' => $this->mailNickname,
            'exchange_usedefaults' => $this->mdbUseDefaults,
        ];
    }
public function toLdapArray ( ) { return [ 'exchange_homemdb' => $ this -> container . ',' . $ this -> baseDn , 'exchange_proxyaddress' => 'SMTP:' . $ this -> emailAddress , 'exchange_mailnickname' => $ this -> mailNickname , 'exchange_usedefaults' => $ this -> mdbUseDefaults , ] ; }
Returns the Mailboxes attributes to an LDAP compatible array.

@return array
Returns the Mailboxes attributes to an LDAP compatible array .