public function getPayloadAttribute($value)
    {
        $value = json_decode($value);

        data_set($value, 'data.command', unserialize(data_get($value, 'data.command')));

        return $value;
    }
public function getPayloadAttribute($value)
    {
        $value = json_decode($value);

        data_set($value, 'data.command', unserialize(data_get($value, 'data.command')));

        return $value;
    }
public function getPayloadAttribute ( $ value ) { $ value = json_decode ( $ value ) ; data_set ( $ value , 'data.command' , unserialize ( data_get ( $ value , 'data.command' ) ) ) ; return $ value ; }
Get the payload.

@param string $value

@return string
Get the payload .