Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Restore Zend\File\Transfer
Browse files Browse the repository at this point in the history
- A user was able to display use cases for Zend\File\Transfer that were indeed
  working on the master branch prior to the file upload rewrite provided by
  @cgmartin
- This commit restores the files from master, and provides fixes/updates/etc. to
  ensure they work against the develop branch for 2.1.0.
  • Loading branch information
Show file tree
Hide file tree
Showing 17 changed files with 3,425 additions and 0 deletions.
1,508 changes: 1,508 additions & 0 deletions src/Transfer/Adapter/AbstractAdapter.php

Large diffs are not rendered by default.

38 changes: 38 additions & 0 deletions src/Transfer/Adapter/FilterPluginManager.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @package Zend_File_Transfer
*/

namespace Zend\File\Transfer\Adapter;

use Zend\Filter\FilterPluginManager as BaseManager;

/**
* Plugin manager implementation for the filter chain.
*
* Enforces that filters retrieved are instances of
* FilterInterface. Additionally, it registers a number of default filters.
*
* @category Zend
* @package Zend_File_Transfer
*/
class FilterPluginManager extends BaseManager
{
/**
* Default set of filters
*
* @var array
*/
protected $aliases = array(
'decrypt' =>'filedecrypt',
'encrypt' =>'fileencrypt',
'lowercase' =>'filelowercase',
'rename' =>'filerename',
'uppercase' =>'fileuppercase',
);
}
Loading

0 comments on commit c1cd9d0

Please sign in to comment.