blob: d304876ab2c257f4b2eae04c0a8705eae37e9880 [file] [log] [blame]
Matthias Andreas Benkard7b2a3a12021-08-16 10:57:25 +02001<?php
2
3namespace LdapRecord\Models\ActiveDirectory;
4
5class ExchangeServer extends Entry
6{
7 /**
8 * @inheritdoc
9 */
10 public static $objectClasses = ['msExchExchangeServer'];
11
12 /**
13 * @inheritdoc
14 */
15 public static function boot()
16 {
17 parent::boot();
18
19 static::addGlobalScope(new Scopes\HasServerRoleAttribute());
20 static::addGlobalScope(new Scopes\InConfigurationContext());
21 }
22}