LdapTools\Ldif\LdifStringBuilderTrait::addCommentsToString PHP Метод

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

Add any specified comments to the generated LDIF.
protected addCommentsToString ( string $ldif ) : string
$ldif string
Результат string
    protected function addCommentsToString($ldif)
    {
        foreach ($this->comments as $comment) {
            $ldif .= Ldif::COMMENT . ' ' . $this->getValueForLine($comment) . $this->lineEnding;
        }
        return $ldif;
    }