Neos.Media/Classes/Domain/Service/ThumbnailService.php
public function refreshThumbnail(Thumbnail $thumbnail)
    {
        $thumbnail->refresh();
        $this->persistenceManager->whiteListObject($thumbnail);
        if (!$this->persistenceManager->isNewObject($thumbnail)) {
            $this->thumbnailRepository->update($thumbnail);
        }
    }
public function refreshThumbnail(Thumbnail $thumbnail)
    {
        $thumbnail->refresh();
        $this->persistenceManager->whiteListObject($thumbnail);
        if (!$this->persistenceManager->isNewObject($thumbnail)) {
            $this->thumbnailRepository->update($thumbnail);
        }
    }
public function refreshThumbnail ( Thumbnail $ thumbnail ) { $ thumbnail -> refresh ( ) ; $ this -> persistenceManager -> whiteListObject ( $ thumbnail ) ; if ( ! $ this -> persistenceManager -> isNewObject ( $ thumbnail ) ) { $ this -> thumbnailRepository -> update ( $ thumbnail ) ; } }
Refreshes a thumbnail and persists the thumbnail

@param Thumbnail $thumbnail
@return void
Refreshes a thumbnail and persists the thumbnail