public function __construct(Repository $repository, AuthorizationCheckerInterface $authorizationChecker, ConfigResolverInterface $configResolver, EngineInterface $templateEngine, $tagConfigurationNamespace, $embedConfigurationNamespace, LoggerInterface $logger = null)
{
$this->repository = $repository;
$this->authorizationChecker = $authorizationChecker;
$this->configResolver = $configResolver;
$this->templateEngine = $templateEngine;
$this->tagConfigurationNamespace = $tagConfigurationNamespace;
$this->embedConfigurationNamespace = $embedConfigurationNamespace;
$this->logger = $logger;
}