Zend\Filter\File\Rename::__construct
Class constructor
Options argument may be either a string, a Zend\Config\Config object, or an array. If an array or Zend\Config\Config object, it accepts the following keys: 'source' => Source filename or directory which will be renamed 'target' => Target filename or directory, the new name of the source file 'overwrite' => Shall existing files be overwritten ? 'randomize' => Shall target files have a random postfix attached?
Signature
public function __construct(string|array|Traversable
$options )
Parameters
$options
— object- Target file or directory to be renamed