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-10-16 13:16:38 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();
    }
}