blob: e85cac16adef55235aee7fbf0ada213f97bf636f [file] [log] [blame]
Matthias Andreas Benkard7b2a3a12021-08-16 10:57:25 +02001<?php
2
3namespace Adldap\Models\Concerns;
4
5trait HasCriticalSystemObject
6{
7 /**
8 * Returns true / false if the entry is a critical system object.
9 *
10 * @return null|bool
11 */
12 public function isCriticalSystemObject()
13 {
14 $attribute = $this->getFirstAttribute($this->schema->isCriticalSystemObject());
15
16 return $this->convertStringToBool($attribute);
17 }
18}