public function reverseTransform($value)
    {
        $parts = explode($this->dateSeparator, $value);
        $from = isset($parts[0]) ? $parts[0] : null;        
        $to = isset($parts[1]) ? $parts[1] : null;
        return new DAteRange($from, $to);
    }
public function reverseTransform($value)
    {
        $parts = explode($this->dateSeparator, $value);
        $from = isset($parts[0]) ? $parts[0] : null;        
        $to = isset($parts[1]) ? $parts[1] : null;
        return new DAteRange($from, $to);
    }
public function reverseTransform ( $ value ) { $ parts = explode ( $ this -> dateSeparator , $ value ) ; $ from = isset ( $ parts [ 0 ] ) ? $ parts [ 0 ] : null ; $ to = isset ( $ parts [ 1 ] ) ? $ parts [ 1 ] : null ; return new DAteRange ( $ from , $ to ) ; }
Transforms a string into a DateRange.

@param string $value String value.

@return DateRange DateRange value.
Transforms a string into a DateRange .