ZendTest\Stratigility\MiddlewarePipeTest::suppressDeprecationNotice PHP Метод

suppressDeprecationNotice() публичный Метод

    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);
    }
MiddlewarePipeTest