protected function addValues($values)
    {
        if (!is_array($values) && !$values instanceof \Traversable) {
            //Unable to process values
            return;
        }

        foreach ($values as $value) {
            //Passing every value thought the filter
            $value = $this->filterValue($value);
            if (!is_null($value)) {
                $this->values[] = $value;
            }
        }
    }
protected function addValues($values)
    {
        if (!is_array($values) && !$values instanceof \Traversable) {
            //Unable to process values
            return;
        }

        foreach ($values as $value) {
            //Passing every value thought the filter
            $value = $this->filterValue($value);
            if (!is_null($value)) {
                $this->values[] = $value;
            }
        }
    }
protected function addValues ( $ values ) { if ( ! is_array ( $ values ) && ! $ values instanceof \ Traversable ) { //Unable to process values return ; } foreach ( $ values as $ value ) { //Passing every value thought the filter $ value = $ this -> filterValue ( $ value ) ; if ( ! is_null ( $ value ) ) { $ this -> values [ ] = $ value ; } } }
Add values matched with filter.

@param mixed $values
Add values matched with filter .