Contao\CoreBundle\Test\EventListener\PrettyErrorScreenListenerTest::getErrorTypes PHP Метод

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

Provides the data for the testContaoPageHandler() method.
public getErrorTypes ( ) : array
Результат array
    public function getErrorTypes()
    {
        return [[403, new AccessDeniedHttpException('', new AccessDeniedException())], [404, new NotFoundHttpException('', new PageNotFoundException())]];
    }