src/LdapTools/Ldif/LdifParser.php
protected function getLdifEntryObject($dn, $changeType)
    {
        if (!array_key_exists($changeType, $this->changeTypeMap)) {
            $this->throwException(sprintf('The changetype "%s" is invalid', $changeType));
        }

        return new $this->changeTypeMap[$changeType]($dn);
    }
protected function getLdifEntryObject($dn, $changeType)
    {
        if (!array_key_exists($changeType, $this->changeTypeMap)) {
            $this->throwException(sprintf('The changetype "%s" is invalid', $changeType));
        }

        return new $this->changeTypeMap[$changeType]($dn);
    }
protected function getLdifEntryObject ( $ dn , $ changeType ) { if ( ! array_key_exists ( $ changeType , $ this -> changeTypeMap ) ) { $ this -> throwException ( sprintf ( 'The changetype "%s" is invalid' , $ changeType ) ) ; } return new $ this -> changeTypeMap [ $ changeType ] ( $ dn ) ; }
Get the LdifEntry for the changetype.

@param string $dn
@param string $changeType
@return LdifEntryInterface
@throws LdifParserException
Get the LdifEntry for the changetype .