protected function setNull(Heading $object, $property)
    {
        $prop = new \ReflectionProperty(get_class($object), $property);
        $prop->setAccessible(true);
        $prop->setValue($object, null);
    }
protected function setNull(Heading $object, $property)
    {
        $prop = new \ReflectionProperty(get_class($object), $property);
        $prop->setAccessible(true);
        $prop->setValue($object, null);
    }
protected function setNull ( Heading $ object , $ property ) { $ prop = new \ ReflectionProperty ( get_class ( $ object ) , $ property ) ; $ prop -> setAccessible ( true ) ; $ prop -> setValue ( $ object , null ) ; }
Set the specified property to null on the object.

@param Heading $object The object to modify
@param string $property The property to nullify
Set the specified property to null on the object .