src/Meta.php
public function getValueAttribute()
    {
        if (!isset($this->cachedValue)) {
            $this->cachedValue = $this->getDataTypeRegistry()
                ->getHandlerForType($this->type)
                ->unserializeValue($this->attributes['value']);
        }

        return $this->cachedValue;
    }
public function getValueAttribute()
    {
        if (!isset($this->cachedValue)) {
            $this->cachedValue = $this->getDataTypeRegistry()
                ->getHandlerForType($this->type)
                ->unserializeValue($this->attributes['value']);
        }

        return $this->cachedValue;
    }
public function getValueAttribute ( ) { if ( ! isset ( $ this -> cachedValue ) ) { $ this -> cachedValue = $ this -> getDataTypeRegistry ( ) -> getHandlerForType ( $ this -> type ) -> unserializeValue ( $ this -> attributes [ 'value' ] ) ; } return $ this -> cachedValue ; }
Accessor for value.

Will unserialize the value before returning it.

Successive access will be loaded from cache.

@return mixed
Accessor for value .