add() public method

Adds an entry to the current connection.
public add ( string $dn, array $entry ) : boolean
$dn string
$entry array
return boolean
Example #1
0
 /**
  * Creates an active directory record.
  *
  * @return bool
  */
 public function create()
 {
     return $this->connection->add($this->getDn(), $this->getAttributes());
 }