MediaAdminBundle/DataFixtures/MongoDB/LoadMediaThumbnailData.php
protected function deployThumbnail($thumbnailName)
    {
        $mediaStorageManager = $this->container->get('open_orchestra_media.manager.storage');
        $fileDir = 'web/bundles/openorchestramediaadmin/images/';

        $mediaStorageManager->uploadFile($thumbnailName, $fileDir . DIRECTORY_SEPARATOR . $thumbnailName, false);
    }
protected function deployThumbnail($thumbnailName)
    {
        $mediaStorageManager = $this->container->get('open_orchestra_media.manager.storage');
        $fileDir = 'web/bundles/openorchestramediaadmin/images/';

        $mediaStorageManager->uploadFile($thumbnailName, $fileDir . DIRECTORY_SEPARATOR . $thumbnailName, false);
    }
protected function deployThumbnail ( $ thumbnailName ) { $ mediaStorageManager = $ this -> container -> get ( 'open_orchestra_media.manager.storage' ) ; $ fileDir = 'web/bundles/openorchestramediaadmin/images/' ; $ mediaStorageManager -> uploadFile ( $ thumbnailName , $ fileDir . DIRECTORY_SEPARATOR . $ thumbnailName , false ) ; }
Deploy a logo on the media storage

@param string $thumbnailName
Deploy a logo on the media storage