Honeypot
in package
implements
FilterInterface
Honeypot filter
Interfaces, Classes and Traits
- FilterInterface
- Filter interface
Table of Contents
- after() : void
- Attach a honeypot to the current response.
- before() : void
- Checks if Honeypot field is empty; if not then the requester is a bot
Methods
after()
Attach a honeypot to the current response.
public
after(RequestInterface $request, ResponseInterface $response[, array<string|int, mixed>|null $arguments = null ]) : void
Parameters
- $request : RequestInterface
- $response : ResponseInterface
- $arguments : array<string|int, mixed>|null = null
Return values
void —before()
Checks if Honeypot field is empty; if not then the requester is a bot
public
before(RequestInterface $request[, array<string|int, mixed>|null $arguments = null ]) : void
Parameters
- $request : RequestInterface
- $arguments : array<string|int, mixed>|null = null