title: In CakePHP 3.0 what is the difference between initialize() and beforeFilter()?
body: <p>I'm transitioning from CakePHP 2.x and it's not clear to me what the difference is between <code>initialize()</code> and <code>beforeFilter()</code>. There seems to be a lot of overlap between them. When should I use one and not the other?</p>