Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
ValidationModelGenerator Class Reference

Public Member Functions

 __construct ($container, $annotsEngine, $type, $name, $notNull, $primary)
 
 parse ()
 

Protected Member Functions

 parseType ($type, $size)
 
 getValidatorAnnotFromModel ($type, $ref=null, $constraints=[])
 
 parseSize ($type, $size)
 
 parseNotNull (&$validatorAnnots)
 
 parseName ()
 
 scanType (&$type, &$size)
 

Protected Attributes

 $type
 
 $name
 
 $notNull
 
 $primary
 
 $modelContainer
 
 $annotsEngine
 

Detailed Description

Definition at line 12 of file ValidationModelGenerator.php.

Constructor & Destructor Documentation

◆ __construct()

__construct (   $container,
  $annotsEngine,
  $type,
  $name,
  $notNull,
  $primary 
)

Definition at line 23 of file ValidationModelGenerator.php.

Member Function Documentation

◆ getValidatorAnnotFromModel()

getValidatorAnnotFromModel (   $type,
  $ref = null,
  $constraints = [] 
)
protected

Definition at line 51 of file ValidationModelGenerator.php.

◆ parse()

parse ( )

Definition at line 106 of file ValidationModelGenerator.php.

◆ parseName()

parseName ( )
protected

Definition at line 90 of file ValidationModelGenerator.php.

◆ parseNotNull()

parseNotNull ( $validatorAnnots)
protected

Definition at line 70 of file ValidationModelGenerator.php.

◆ parseSize()

parseSize (   $type,
  $size 
)
protected

Definition at line 61 of file ValidationModelGenerator.php.

◆ parseType()

parseType (   $type,
  $size 
)
protected

Definition at line 32 of file ValidationModelGenerator.php.

◆ scanType()

scanType ( $type,
$size 
)
protected

Definition at line 101 of file ValidationModelGenerator.php.

Field Documentation

◆ $annotsEngine

$annotsEngine
protected

Definition at line 21 of file ValidationModelGenerator.php.

◆ $modelContainer

$modelContainer
protected

Definition at line 17 of file ValidationModelGenerator.php.

◆ $name

$name
protected

Definition at line 14 of file ValidationModelGenerator.php.

◆ $notNull

$notNull
protected

Definition at line 15 of file ValidationModelGenerator.php.

◆ $primary

$primary
protected

Definition at line 16 of file ValidationModelGenerator.php.

◆ $type

$type
protected

Definition at line 13 of file ValidationModelGenerator.php.


The documentation for this class was generated from the following file: