Get token name.

/**
 * Get token name.
 *
 * @return string
 */
public function getTokenName(): string

Examples

<input type="hidden" name="<?php echo $csrf->getTokenName(); ?>" value="<?php echo $csrf->getTokenValue(); ?>"></input>
Edit this page on GitHub

Getting Started

Methods