3.0 api

For https://github.com/cakephp/cakephp/pull/3424