Devise\Pages\Fields\LiveFieldValue::extract PHP Method

extract() public method

This is not recommended to do as it will mess up LiveUpdate, but it is needed in certain cases (for example in FieldManager)
public extract ( ) : void
return void
    public function extract()
    {
        foreach ($this->__->values as $key => $value) {
            $this->{$key} = $value;
        }
    }

Usage Example

Example #1
0
 public function test_it_extracts()
 {
     $obj = new LiveFieldValue('{}', 12, 'field');
     $obj->extract();
 }