PHP Class Sulu\Bundle\WebsiteBundle\Resolver\TemplateAttributeResolver

Inheritance: implements Sulu\Bundle\WebsiteBundle\Resolver\TemplateAttributeResolverInterface
Mostra file Open project: sulu/sulu

Protected Properties

Property Type Description
$environment string
$requestAnalyzer Sulu\Component\Webspace\Analyzer\RequestAnalyzerInterface
$requestAnalyzerResolver Sulu\Bundle\WebsiteBundle\Resolver\RequestAnalyzerResolverInterface
$requestStack Symfony\Component\HttpFoundation\RequestStack
$router Symfony\Component\Routing\RouterInterface
$webspaceManager Sulu\Component\Webspace\Manager\WebspaceManagerInterface

Public Methods

Method Description
__construct ( Sulu\Component\Webspace\Analyzer\RequestAnalyzerInterface $requestAnalyzer, Sulu\Bundle\WebsiteBundle\Resolver\RequestAnalyzerResolverInterface $requestAnalyzerResolver, Sulu\Component\Webspace\Manager\WebspaceManagerInterface $webspaceManager, Symfony\Component\Routing\RouterInterface $router, Symfony\Component\HttpFoundation\RequestStack $requestStack, string $environment ) TemplateAttributeResolver constructor.
resolve ( $customParameters = [] )

Protected Methods

Method Description
getDefaultParameters ( ) : array
getUrls ( ) : array

Method Details

__construct() public method

TemplateAttributeResolver constructor.
public __construct ( Sulu\Component\Webspace\Analyzer\RequestAnalyzerInterface $requestAnalyzer, Sulu\Bundle\WebsiteBundle\Resolver\RequestAnalyzerResolverInterface $requestAnalyzerResolver, Sulu\Component\Webspace\Manager\WebspaceManagerInterface $webspaceManager, Symfony\Component\Routing\RouterInterface $router, Symfony\Component\HttpFoundation\RequestStack $requestStack, string $environment )
$requestAnalyzer Sulu\Component\Webspace\Analyzer\RequestAnalyzerInterface
$requestAnalyzerResolver Sulu\Bundle\WebsiteBundle\Resolver\RequestAnalyzerResolverInterface
$webspaceManager Sulu\Component\Webspace\Manager\WebspaceManagerInterface
$router Symfony\Component\Routing\RouterInterface
$requestStack Symfony\Component\HttpFoundation\RequestStack
$environment string

getDefaultParameters() protected method

protected getDefaultParameters ( ) : array
return array

getUrls() protected method

protected getUrls ( ) : array
return array

resolve() public method

public resolve ( $customParameters = [] )

Property Details

$environment protected_oe property

protected string $environment
return string

$requestAnalyzer protected_oe property

protected RequestAnalyzerInterface,Sulu\Component\Webspace\Analyzer $requestAnalyzer
return Sulu\Component\Webspace\Analyzer\RequestAnalyzerInterface

$requestAnalyzerResolver protected_oe property

protected RequestAnalyzerResolverInterface,Sulu\Bundle\WebsiteBundle\Resolver $requestAnalyzerResolver
return Sulu\Bundle\WebsiteBundle\Resolver\RequestAnalyzerResolverInterface

$requestStack protected_oe property

protected RequestStack,Symfony\Component\HttpFoundation $requestStack
return Symfony\Component\HttpFoundation\RequestStack

$router protected_oe property

protected RouterInterface,Symfony\Component\Routing $router
return Symfony\Component\Routing\RouterInterface

$webspaceManager protected_oe property

protected WebspaceManagerInterface,Sulu\Component\Webspace\Manager $webspaceManager
return Sulu\Component\Webspace\Manager\WebspaceManagerInterface