plugin/dropzone/Manager/DropzoneManager.php
public function closeDropzoneOpenedDrops(Dropzone $dropzone, $force = false)
    {
        if ($force || $this->isDropzoneDropTimeIsUp($dropzone)) {
            $dropRepo = $this->em->getRepository('IcapDropzoneBundle:Drop');
            $dropRepo->closeUnTerminatedDropsByDropzone($dropzone->getId());
            $dropzone->setAutoCloseState(Dropzone::AUTO_CLOSED_STATE_CLOSED);
        }
    }
public function closeDropzoneOpenedDrops(Dropzone $dropzone, $force = false)
    {
        if ($force || $this->isDropzoneDropTimeIsUp($dropzone)) {
            $dropRepo = $this->em->getRepository('IcapDropzoneBundle:Drop');
            $dropRepo->closeUnTerminatedDropsByDropzone($dropzone->getId());
            $dropzone->setAutoCloseState(Dropzone::AUTO_CLOSED_STATE_CLOSED);
        }
    }
public function closeDropzoneOpenedDrops ( Dropzone $ dropzone , $ force = false ) { if ( $ force || $ this -> isDropzoneDropTimeIsUp ( $ dropzone ) ) { $ dropRepo = $ this -> em -> getRepository ( 'IcapDropzoneBundle:Drop' ) ; $ dropRepo -> closeUnTerminatedDropsByDropzone ( $ dropzone -> getId ( ) ) ; $ dropzone -> setAutoCloseState ( Dropzone :: AUTO_CLOSED_STATE_CLOSED ) ; } }
if the dropzone option 'autocloseOpenDropsWhenTimeIsUp' is activated, and evalution allowToDrop time is over,
this will close all drop not closed yet.

@param Dropzone $dropzone
@param bool     $force
if the dropzone option autocloseOpenDropsWhenTimeIsUp is activated and evalution allowToDrop time is over this will close all drop not closed yet .