hail/safe-storage

Store data safely in memory at runtime

v1.0.2 2019-05-05 07:34 UTC

This package is auto-updated.

Last update: 2024-04-16 12:07:32 UTC


README

Store data safely in memory at runtime

Example

use Hail\SafeStorage\SafeStorageTrait;

class Example
{
    use SafeStorageTrait;
    
    public function __construct(string $password)
    {
        $this->setPassword($password);
    }
    
    public function usePassword()
    {
        $password = $this->getPassword();
    }
}