__constructStatic() __constructStatic() Create a CSRF token and set it as a cookie if it doesn't exist
check() check(boolean $echo = true) : boolean Check if CSRF token matches form data's token Parameters boolean $echo Should error message be printed if it doesn't match Returns boolean — Whether it match