public function setValues(array $values = [])
    {
        $this->values = array_map(function($value) {
            // We need to make sure all values given to a batch modification are
            // strings, otherwise we'll receive an LDAP exception when
            // we try to process the modification.
            return (string) $value;
        }, $values);

        return $this;
    }
public function setValues(array $values = [])
    {
        $this->values = array_map(function($value) {
            // We need to make sure all values given to a batch modification are
            // strings, otherwise we'll receive an LDAP exception when
            // we try to process the modification.
            return (string) $value;
        }, $values);

        return $this;
    }
public function setValues ( array $ values = [ ] ) { $ this -> values = array_map ( function ( $ value ) { // We need to make sure all values given to a batch modification are // strings, otherwise we'll receive an LDAP exception when // we try to process the modification. return ( string ) $ value ; } , $ values ) ; return $ this ; }
Sets the values of the modification.

@param array $values

@return $this
Sets the values of the modification .