Common/Listener/UploadableListener.php
public function preUpdate(UploadableInterface $uploadable)
    {
        if (!$this->enabled) {
            return;
        }

        // TODO Remove (when handled by resource behavior).
        $uploadable->setUpdatedAt(new \DateTime());

        $this->uploader->prepare($uploadable);
    }
public function preUpdate(UploadableInterface $uploadable)
    {
        if (!$this->enabled) {
            return;
        }

        // TODO Remove (when handled by resource behavior).
        $uploadable->setUpdatedAt(new \DateTime());

        $this->uploader->prepare($uploadable);
    }
Pre update event handler.

@param UploadableInterface $uploadable