Matthias Andreas Benkard | 7b2a3a1 | 2021-08-16 10:57:25 +0200 | [diff] [blame^] | 1 | <?php |
| 2 | |
| 3 | namespace Adldap\Models; |
| 4 | |
| 5 | /** |
| 6 | * Class Container. |
| 7 | * |
| 8 | * Represents an LDAP container. |
| 9 | */ |
| 10 | class Container extends Entry |
| 11 | { |
| 12 | use Concerns\HasDescription; |
| 13 | use Concerns\HasCriticalSystemObject; |
| 14 | |
| 15 | /** |
| 16 | * Returns the containers system flags integer. |
| 17 | * |
| 18 | * An integer value that contains flags that define additional properties of the class. |
| 19 | * |
| 20 | * @link https://msdn.microsoft.com/en-us/library/ms680022(v=vs.85).aspx |
| 21 | * |
| 22 | * @return string |
| 23 | */ |
| 24 | public function getSystemFlags() |
| 25 | { |
| 26 | return $this->getFirstAttribute($this->schema->systemFlags()); |
| 27 | } |
| 28 | } |