Neos.Media/Classes/Domain/Strategy/ThumbnailGeneratorStrategy.php
public function refresh(Thumbnail $thumbnail)
    {
        $generatorClassNames = static::getThumbnailGeneratorClassNames($this->objectManager);
        foreach ($generatorClassNames as $generator) {
            $generator = $this->objectManager->get($generator['className']);
            if (!$generator->canRefresh($thumbnail)) {
                continue;
            }
            $generator->refresh($thumbnail);
            return;
        }
    }
public function refresh(Thumbnail $thumbnail)
    {
        $generatorClassNames = static::getThumbnailGeneratorClassNames($this->objectManager);
        foreach ($generatorClassNames as $generator) {
            $generator = $this->objectManager->get($generator['className']);
            if (!$generator->canRefresh($thumbnail)) {
                continue;
            }
            $generator->refresh($thumbnail);
            return;
        }
    }
public function refresh ( Thumbnail $ thumbnail ) { $ generatorClassNames = static :: getThumbnailGeneratorClassNames ( $ this -> objectManager ) ; foreach ( $ generatorClassNames as $ generator ) { $ generator = $ this -> objectManager -> get ( $ generator [ 'className' ] ) ; if ( ! $ generator -> canRefresh ( $ thumbnail ) ) { continue ; } $ generator -> refresh ( $ thumbnail ) ; return ; } }
Refresh the given thumbnail

@param Thumbnail $thumbnail
@return void
Refresh the given thumbnail