original_string: protected function getEmbeddedData()
      {
          if ($old = old($this->column)) {
              return $old;
          }
  
          if (empty($this->value)) {
              return [];
          }
  
          if (is_string($this->value)) {
              return json_decode($this->value, true);
          }
  
          return (array) $this->value;
      }
code: protected function getEmbeddedData()
      {
          if ($old = old($this->column)) {
              return $old;
          }
  
          if (empty($this->value)) {
              return [];
          }
  
          if (is_string($this->value)) {
              return json_decode($this->value, true);
          }
  
          return (array) $this->value;
      }
code_tokens: protected function getEmbeddedData ( ) { if ( $ old = old ( $ this -> column ) ) { return $ old ; } if ( empty ( $ this -> value ) ) { return [ ] ; } if ( is_string ( $ this -> value ) ) { return json_decode ( $ this -> value , true ) ; } return ( array ) $ this -> value ; }
docstring: Get data for Embedded form.
  
  Normally, data is obtained from the database.
  
  When the data validation errors, data is obtained from session flash.
  
  @return array
docstring_tokens: Get data for Embedded form .