Devise\Pages\Fields\LiveFieldValue::extract PHP Метод

extract() публичный Метод

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
Результат void
    public function extract()
    {
        foreach ($this->__->values as $key => $value) {
            $this->{$key} = $value;
        }
    }

Usage Example

Пример #1
0
 public function test_it_extracts()
 {
     $obj = new LiveFieldValue('{}', 12, 'field');
     $obj->extract();
 }