public function __construct($guid) { if (LdapUtilities::isValidGuid($guid)) { $this->guid = $guid; } else { $this->decodeFromBinary($guid); } }