public function setLength(array $condition)
    {
        if (is_array($condition) === true)  {
            $this->{key($condition)} = (int) current($condition);
        }

        return $this;
    }
public function setLength(array $condition)
    {
        if (is_array($condition) === true)  {
            $this->{key($condition)} = (int) current($condition);
        }

        return $this;
    }
public function setLength ( array $ condition ) { if ( is_array ( $ condition ) === true ) { $ this -> { key ( $ condition ) } = ( int ) current ( $ condition ) ; } return $ this ; }
Set value length for the search min and max

@param  array       $condition value
@return Validator
Set value length for the search min and max