Zend\Filter\File\Encrypt
Encrypts a given file and stores the encrypted file content
Synopsis
class Encrypt
extends Encrypt
{
- // members
- protected string $filename;
- // Inherited members from Encrypt
- protected $adapter;
- // Inherited members from AbstractFilter
- protected array $options;
- // methods
- public string getFilename()
- public self setFilename()
- public string|array filter()
- // Inherited methods from Encrypt
- public void __construct()
- public string getAdapter()
- public self setAdapter()
- public mixed __call()
- public string filter()
- // Inherited methods from AbstractFilter
- public static bool hasPcreUnicodeSupport()
- public self setOptions()
- public array getOptions()
- public mixed __invoke()
- protected static bool isOptions()
Hierarchy
Extends
Tasks
Line | Task |
---|---|
47+ | inconsitent: get adapter should return the adapter and not the name |
Members
protected
-
$adapter
Encryption adapter - $filename
—
string
New filename to set - $options
—
array
Filter options
Methods
public
- filter() — Defined by Zend\Filter\Filter
- getFilename() — Returns the new filename where the content will be stored
- setFilename() — Sets the new filename where the content will be stored
Inherited from Zend\Filter\Encrypt
public
- __call() — Calls adapter methods
- filter() — Defined by Zend\Filter\Filter
- getAdapter() — Returns the name of the set adapter
- setAdapter() — Sets new encryption options
Inherited from Zend\Filter\AbstractFilter
protected
public
- __invoke() — Invoke filter as a command
- getOptions() — Retrieve options representing object state
- hasPcreUnicodeSupport()
- setOptions()