public function reverseTransform($modelData, PropertyPathInterface $propertyPath, $value)
    {
        if (false === $date = $this->createDateFromString($value)) {
            $date = null;
        }

        $this->propertyAccessor->setValue($modelData, $propertyPath, $date);
    }
public function reverseTransform($modelData, PropertyPathInterface $propertyPath, $value)
    {
        if (false === $date = $this->createDateFromString($value)) {
            $date = null;
        }

        $this->propertyAccessor->setValue($modelData, $propertyPath, $date);
    }
public function reverseTransform ( $ modelData , PropertyPathInterface $ propertyPath , $ value ) { if ( false === $ date = $ this -> createDateFromString ( $ value ) ) { $ date = null ; } $ this -> propertyAccessor -> setValue ( $ modelData , $ propertyPath , $ date ) ; }
Transforms date string to DateTime object

@param object                $modelData
@param PropertyPathInterface $propertyPath
@param mixed                 $value
Transforms date string to DateTime object