LdapTools\Ldif\Ldif::setupEntry PHP Метод

setupEntry() защищенный Метод

protected setupEntry ( LdapTools\Ldif\Entry\LdifEntryInterface $entry )
$entry LdapTools\Ldif\Entry\LdifEntryInterface
    protected function setupEntry(LdifEntryInterface $entry)
    {
        if (!is_null($entry->getType()) && $entry instanceof SchemaAwareInterface) {
            $entry->setLdapObjectSchema($this->getSchemaForType($entry->getType()));
        }
        if ($entry instanceof LdapAwareInterface) {
            $entry->setLdapConnection($this->connection);
        }
        $entry->setLineEnding($this->lineEnding);
        $entry->setLineFolding($this->lineFolding);
        $entry->setMaxLineLength($this->maxLineLength);
    }