LdapTools\Ldif\Entry\LdifEntryTrait::addControl PHP Method

addControl() public method

Add a LDAP control that should be used when processing this entry.
public addControl ( LdapControl $control )
$control LdapTools\Connection\LdapControl
    public function addControl(LdapControl $control)
    {
        $this->controls[] = $control;
        return $this;
    }