for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* File containing the BinaryFileMigrationHandler class.
*
* @copyright Copyright (C) eZ Systems AS. All rights reserved.
* @license For full copyright and license information view LICENSE file distributed with this source code.
*/
namespace eZ\Bundle\EzPublishIOBundle\Migration\MigrationHandler;
use eZ\Bundle\EzPublishIOBundle\Migration\MigrationHandler;
use eZ\Publish\SPI\IO\BinaryFile;
class BinaryFileMigrationHandler extends MigrationHandler
{
public function countFiles()
return $this->fromMetadataHandler->count('binaryfile');
}
public function loadFiles()
return $this->fromMetadataHandler->loadAll('binaryfile');
public function migrateFile(BinaryFile $binaryFile)
return true; //TODO