/**
  * 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;
 }
Beispiel #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);
 }
 /**
  * Gets our option value and unwraps it from any stream wrappers.
  *
  * @param  mixed  $value
  * @return mixed
  */
 public function getChecksumAttribute($value)
 {
     return binary_unsql($value);
 }
Beispiel #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);
 }