public function __construct(Repository $repository, ConfigResolverInterface $configResolver, EventDispatcherInterface $eventDispatcher, TokenStorageInterface $tokenStorage, AuthorizationCheckerInterface $authorizationChecker, $fragmentPath = '/_fragment')
{
$this->repository = $repository;
$this->configResolver = $configResolver;
$this->eventDispatcher = $eventDispatcher;
$this->tokenStorage = $tokenStorage;
$this->authorizationChecker = $authorizationChecker;
$this->fragmentPath = $fragmentPath;
}