PHP 클래스 Sulu\Bundle\CustomUrlBundle\Request\CustomUrlRequestProcessor

상속: implements Sulu\Component\Webspace\Analyzer\Attributes\RequestProcessorInterface
파일 보기 프로젝트 열기: sulu/sulu

공개 메소드들

메소드 설명
__construct ( Sulu\Component\CustomUrl\Manager\CustomUrlManagerInterface $customUrlManager, Sulu\Component\CustomUrl\Generator\GeneratorInterface $generator, Sulu\Component\Webspace\Manager\WebspaceManagerInterface $webspaceManager, $environment )
process ( Request $request, RequestAttributes $requestAttributes )
validate ( RequestAttributes $attributes )

비공개 메소드들

메소드 설명
matchCustomUrl ( string $url, PortalInformation $portalInformation, Request $request ) : RequestAttributes | void Matches given url to portal-information.
parse ( string $locale ) : Localization Converts locale string to localization object.

메소드 상세

__construct() 공개 메소드

public __construct ( Sulu\Component\CustomUrl\Manager\CustomUrlManagerInterface $customUrlManager, Sulu\Component\CustomUrl\Generator\GeneratorInterface $generator, Sulu\Component\Webspace\Manager\WebspaceManagerInterface $webspaceManager, $environment )
$customUrlManager Sulu\Component\CustomUrl\Manager\CustomUrlManagerInterface
$generator Sulu\Component\CustomUrl\Generator\GeneratorInterface
$webspaceManager Sulu\Component\Webspace\Manager\WebspaceManagerInterface

process() 공개 메소드

public process ( Request $request, RequestAttributes $requestAttributes )
$request Symfony\Component\HttpFoundation\Request
$requestAttributes Sulu\Component\Webspace\Analyzer\Attributes\RequestAttributes

validate() 공개 메소드

public validate ( RequestAttributes $attributes )
$attributes Sulu\Component\Webspace\Analyzer\Attributes\RequestAttributes