NeoSOFT Interview Question

write to code for pyramid? what are the lifecycle methods?