Webiny\Component\Security\Token\CryptDrivers\Crypt\Crypt::__construct PHP Method

__construct() public method

Creates an new crypt driver instance.
public __construct ( ) : Crypt
return Crypt
    public function __construct()
    {
        try {
            $this->serviceInstance = $this->crypt();
        } catch (\Exception $e) {
            throw new CryptException($e->getMessage());
        }
    }