public function setInfoAttribute($value)
    {
        return ($value) ? $this->attributes['info'] = json_encode($value) : $this->attributes['info'] = null;
    }
public function setInfoAttribute($value)
    {
        return ($value) ? $this->attributes['info'] = json_encode($value) : $this->attributes['info'] = null;
    }
public function setInfoAttribute ( $ value ) { return ( $ value ) ? $ this -> attributes [ 'info' ] = json_encode ( $ value ) : $ this -> attributes [ 'info' ] = null ; }
Set the info value

@param string $value info value

@return string
Set the info value