for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of the Ray.WebFormModule package.
*
* @license http://opensource.org/licenses/MIT MIT
*/
namespace Ray\WebFormModule\Annotation;
use Attribute;
#[Attribute(Attribute::TARGET_METHOD)]
final class FormValidation extends AbstractValidation
{
public function __construct(
string $form = 'form',
public bool $antiCsrf = false,
public string|null $onFailure = null
) {
parent::__construct($form);
}