Classes/Cache/Rule/ValidDoktype.php
public function checkRule(TypoScriptFrontendController $frontendController, string $uri, array &$explanation, bool &$skipProcessing)
    {
        $ignoreTypes = [
            PageRepository::DOKTYPE_LINK,
            PageRepository::DOKTYPE_SYSFOLDER,
            PageRepository::DOKTYPE_RECYCLER,
        ];
        $currentType = (int)$frontendController->page['doktype'];
        if (\in_array($currentType, $ignoreTypes, true)) {
            $explanation[__CLASS__] = 'The Page doktype ' . $currentType . ' is one of the following not allowed numbers: ' . \implode(
                ', ',
                $ignoreTypes
            );
            $skipProcessing = true;
        }
    }
public function checkRule(TypoScriptFrontendController $frontendController, string $uri, array &$explanation, bool &$skipProcessing)
    {
        $ignoreTypes = [
            PageRepository::DOKTYPE_LINK,
            PageRepository::DOKTYPE_SYSFOLDER,
            PageRepository::DOKTYPE_RECYCLER,
        ];
        $currentType = (int)$frontendController->page['doktype'];
        if (\in_array($currentType, $ignoreTypes, true)) {
            $explanation[__CLASS__] = 'The Page doktype ' . $currentType . ' is one of the following not allowed numbers: ' . \implode(
                ', ',
                $ignoreTypes
            );
            $skipProcessing = true;
        }
    }
public function checkRule ( TypoScriptFrontendController $ frontendController , string $ uri , array & $ explanation , bool & $ skipProcessing ) { $ ignoreTypes = [ PageRepository :: DOKTYPE_LINK , PageRepository :: DOKTYPE_SYSFOLDER , PageRepository :: DOKTYPE_RECYCLER , ] ; $ currentType = ( int ) $ frontendController -> page [ 'doktype' ] ; if ( \ in_array ( $ currentType , $ ignoreTypes , true ) ) { $ explanation [ __CLASS__ ] = 'The Page doktype ' . $ currentType . ' is one of the following not allowed numbers: ' . \ implode ( ', ' , $ ignoreTypes ) ; $ skipProcessing = true ; } }
Check if the URI is valid.

@param TypoScriptFrontendController $frontendController
@param string                       $uri
@param array                        $explanation
@param bool                         $skipProcessing
Check if the URI is valid .