<?php 
 
/*  
 * To change this license header, choose License Headers in Project Properties. 
 * To change this template file, choose Tools | Templates 
 * and open the template in the editor. 
 */ 
 
 
 
require __DIR__ . 'CSRFSession.php'; 
 
 
// 1- To start initializing a token: 
\CSRF\Session\Handlder::__start('any_mix_of_characters_as_the_key'); 
 
 
 
 
// 2- To put token to UI form: 
\CSRF\Session\Handlder::__getToken(); 
 
 
 
 
// 3- To compare tokens UI and session: 
\CSRF\Session\Handlder::__compare(); 
 
 |