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() //TODO move to parent?
return $this->fromMetadataHandler->count($this->scope);
}
public function loadMetadataList($limit = null, $offset = null) //TODO move to parent?
return $this->fromMetadataHandler->loadList($this->scope, $limit, $offset);
public function migrateFile(BinaryFile $binaryFile)
return true; //TODO