LdapTools\Ldif\Entry\LdifEntryInterface::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 $type )
$type string
    public function setType($type);