Psr7Middlewares\Middleware\Csrf::encode PHP Method

encode() private static method

PHP base64_decode does not croak on that.
private static encode ( string $value ) : string
$value string
return string
    private static function encode($value)
    {
        return rtrim(base64_encode($value), '=');
    }