LdapTools\Ldif\Entry\LdifEntryTrait::setType PHP Method

setType() public method

Set the LDAP object type this entry should represent. This is a string from the schema for the domain, such as 'user', 'group', 'contact', etc. If this is not null then the schema definition is used when transforming the entry to a string/operation.
public setType ( string | null $type )
$type string | null
    public function setType($type)
    {
        $this->type = $type;
        return $this;
    }