src/LdapTools/Object/LdapObject.php
public function reset(...$attributes)
    {
        foreach ($attributes as $attribute) {
            if ($this->has($attribute)) {
                $attribute = $this->resolveAttributeName($attribute);
                unset($this->attributes[$attribute]);
            }
            $this->batches->add(new Batch(Batch::TYPE['REMOVE_ALL'], $attribute));
        }

        return $this;
    }
public function reset(...$attributes)
    {
        foreach ($attributes as $attribute) {
            if ($this->has($attribute)) {
                $attribute = $this->resolveAttributeName($attribute);
                unset($this->attributes[$attribute]);
            }
            $this->batches->add(new Batch(Batch::TYPE['REMOVE_ALL'], $attribute));
        }

        return $this;
    }
public function reset ( ... $ attributes ) { foreach ( $ attributes as $ attribute ) { if ( $ this -> has ( $ attribute ) ) { $ attribute = $ this -> resolveAttributeName ( $ attribute ) ; unset ( $ this -> attributes [ $ attribute ] ) ; } $ this -> batches -> add ( new Batch ( Batch :: TYPE [ 'REMOVE_ALL' ] , $ attribute ) ) ; } return $ this ; }
Resets the attribute, which effectively removes any values it may have.

@param string[] ...$attributes
@return $this
Resets the attribute which effectively removes any values it may have .