App\Source\ModelFieldBuilder\Interfaces\IField::correct PHP Method

correct() public method

public correct ( )
    public function correct();

Usage Example

Example #1
0
 public function addField(Interfaces\IField $field)
 {
     $this->lastItemNameAdd = null;
     // move to this class method correct
     if ($field->correct()) {
         $this->arFields[$field->name] = $field;
         $this->lastItemNameAdd = $this->arFields[$field->name];
         $this->buildet = false;
     }
     return $this;
 }