LdapTools\Ldif\LdifEntryBuilder::add PHP 메소드

add() 공개 메소드

Create a LDIF add entry type.
public add ( string $dn = null, array $attributes = [] ) : LdifEntryAdd
$dn string
$attributes array The attribute [key => value] array to be added.
리턴 LdapTools\Ldif\Entry\LdifEntryAdd
    public function add($dn = null, array $attributes = [])
    {
        return new LdifEntryAdd($dn, $attributes);
    }