You are here

FileProcessorInterface.php in Backup and Migrate 5.0.x

File

src/Core/Plugin/FileProcessorInterface.php
View source
<?php

namespace Drupal\backup_migrate\Core\Plugin;

use Drupal\backup_migrate\Core\File\TempFileManagerInterface;

/**
 * For plugins which process files and must have access to a temp file factory.
 *
 * @package Drupal\backup_migrate\Core\Plugin
 */
interface FileProcessorInterface {

  /**
   * Inject the temp file manager.
   *
   * @param \Drupal\backup_migrate\Core\File\TempFileManagerInterface $tempfilemanager
   *
   * @return mixed
   */
  public function setTempFileManager(TempFileManagerInterface $tempfilemanager);

  /**
   * Get the temp file manager.
   *
   * @return \Drupal\backup_migrate\Core\File\TempFileManagerInterface
   */
  public function getTempFileManager();

}

Interfaces

Namesort descending Description
FileProcessorInterface For plugins which process files and must have access to a temp file factory.