update generator example file
add setConfig method to Phrame\Generator