Documentation

ValidationBuilder
in package

This class builds validation conditions.

Tags
author

Christophe Coevoet stof@notk.org

Table of Contents

$rules  : mixed
$node  : mixed
__construct()  : mixed
rule()  : ExprBuilder|$this
Registers a closure to run as normalization or an expression builder to build it if null is provided.

Properties

Methods

rule()

Registers a closure to run as normalization or an expression builder to build it if null is provided.

public rule([Closure|null $closure = null ]) : ExprBuilder|$this
Parameters
$closure : Closure|null = null
Return values
ExprBuilder|$this

Search results