Documentation

ValidationBuilder
in package

This class builds validation conditions.

Tags
author

Christophe Coevoet stof@notk.org

Table of Contents

Properties

$rules  : mixed
$node  : mixed

Methods

__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 $closure = null ]) : ExprBuilder|$this
Parameters
$closure : Closure = null
Return values
ExprBuilder|$this

        
On this page

Search results