setLayers()
setLayers(array<mixed,\CryptoManana\DataStructures\EncryptionLayer>|array $layers)
Setter for the encryption layers' configuration.
Parameters
array<mixed,\CryptoManana\DataStructures\EncryptionLayer>|array | $layers | Collection of layers. |
Throws
- \Exception
Validation errors.