for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Helmut\Forms\Plugins\Memory;
use Helmut\Forms\Plugin;
class Memory extends Plugin {
protected $token;
public function setToken($token)
{
$this->token = $token;
return $this;
}
public function onRender($form)
$form
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
if (is_null($this->token)) {
throw new \Exception('Memory plugin requires token to be set');
public function onSubmitted($form)
// Save the data
public function onCompleted($form)
// Clear the data
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.