LdapTools\Security\Ace\Ace::setObjectType PHP Method

setObjectType() public method

Set the GUID object type this ACE applies to.
public setObjectType ( GUID | string | null $guid )
$guid LdapTools\Security\GUID | string | null
    public function setObjectType($guid)
    {
        $this->objectType = $guid instanceof GUID || $guid === null ? $guid : new GUID($guid);
        return $this->toggleObjectStatus($guid, AceObjectFlags::FLAG['OBJECT_TYPE_PRESENT']);
    }