public function suppressDeprecationNotice() { $this->deprecationsSuppressed = set_error_handler(function ($errno, $errstr) { if (false === strstr($errstr, 'docs.zendframework.com')) { return false; } return true; }, E_USER_DEPRECATED); }