Skip to content

Commit

Permalink
📚 Adding DOCUMENTATION
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammad-Sarfaraz authored Oct 24, 2020
1 parent 3ebf0ff commit bcf1453
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions docs/DOCUMENTATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,41 +41,49 @@ if(Glide::validate($key)){
};

```
<br>
Destroy CSRF token
##### destroy ()
```php
$csrf->destroy();
```
<br>

Get session id
##### id ()

```php
$csrf->id();
```
Regenerate session id
<br>

Regenerate session id
##### Regenerate ()

```php
$csrf->regenerate();
```

Put session value
<br>

Put session value
##### put ()

```php
$csrf->put($key,$value);
```
Get session value
<br>

Get session value
##### get ()

```php
$csrf->get($key);
```
##### token ()
<br>

Get token value
##### token ()
```php
use Glide\Token\Engine;

Expand Down

0 comments on commit bcf1453

Please sign in to comment.