allow before and after intercept to be chainable
Stack PHP integration