Neos\Flow\Tests\Unit\Mvc\Routing\RouteTest::routeMatchesRequestPathWithAllPartsIfUriPatternStartsWithTwoSuccessiveOptionalRouteParts PHP 메소드

routeMatchesRequestPathWithAllPartsIfUriPatternStartsWithTwoSuccessiveOptionalRouteParts() 공개 메소드

    public function routeMatchesRequestPathWithAllPartsIfUriPatternStartsWithTwoSuccessiveOptionalRouteParts()
    {
        $this->route->setUriPattern('(optional1/optional2/)required1/required2');
        $this->assertTrue($this->routeMatchesPath('optional1/optional2/required1/required2'));
    }
RouteTest