src/Zend/Filter/File/Rename.php
public function addFile($options)
    {
        if (is_string($options)) {
            $options = array('target' => $options);
        } elseif (!is_array($options)) {

            throw new Zend_Filter_Exception ('Invalid options to rename filter provided');
        }

        $this->_convertOptions($options);

        return $this;
    }
public function addFile($options)
    {
        if (is_string($options)) {
            $options = array('target' => $options);
        } elseif (!is_array($options)) {

            throw new Zend_Filter_Exception ('Invalid options to rename filter provided');
        }

        $this->_convertOptions($options);

        return $this;
    }
Adds a new file or directory as target to the existing ones

Array accepts the following keys:
'source'    => Source filename or directory which will be renamed
'target'    => Target filename or directory, the new name of the sourcefile
'overwrite' => Shall existing files be overwritten ?

@param  string|array $options Old file or directory to be rewritten
@return Zend_Filter_File_Rename