/**
  * Gets our option value and unwraps it from any stream wrappers.
  *
  * @param  mixed  $value
  * @return mixed
  */
 public function getOptionValueAttribute($value)
 {
     $value = binary_unsql($value);
     if (isset($this->attributes['data_type']) && $this->attributes['data_type'] == "array") {
         $value = json_decode($value, true);
     }
     return $value;
 }
Example #2
0
 /**
  * Gets our option value and unwraps it from any stream wrappers.
  *
  * @param  mixed  $value
  * @return mixed
  */
 public function getOptionValueAttribute($value)
 {
     return binary_unsql($value);
 }
Example #3
0
 /**
  * Gets our option value and unwraps it from any stream wrappers.
  *
  * @param  mixed  $value
  * @return mixed
  */
 public function getChecksumAttribute($value)
 {
     return binary_unsql($value);
 }
Example #4
0
 /**
  * Gets our binary value and unwraps it from any stream wrappers.
  *
  * @param  mixed  $value
  * @return mixed
  */
 public function getActionDetailsAttribute($value)
 {
     return binary_unsql($value);
 }