protected function _shouldProcess($path) { $ending = substr($path, -4); return $ending === '.php' || $ending === '.ctp'; }