eZ\Publish\Core\MVC\Symfony\Controller\Content\PreviewController::__construct PHP Method

__construct() public method

public __construct ( eZ\Publish\API\Repository\ContentService $contentService, Symfony\Component\HttpKernel\HttpKernelInterface $kernel, ContentPreviewHelper $previewHelper, Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface $authorizationChecker, eZ\Publish\Core\Helper\PreviewLocationProvider $locationProvider, eZ\Publish\Core\MVC\Symfony\View\CustomLocationControllerChecker $controllerChecker )
$contentService eZ\Publish\API\Repository\ContentService
$kernel Symfony\Component\HttpKernel\HttpKernelInterface
$previewHelper eZ\Publish\Core\Helper\ContentPreviewHelper
$authorizationChecker Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface
$locationProvider eZ\Publish\Core\Helper\PreviewLocationProvider
$controllerChecker eZ\Publish\Core\MVC\Symfony\View\CustomLocationControllerChecker
    public function __construct(ContentService $contentService, HttpKernelInterface $kernel, ContentPreviewHelper $previewHelper, AuthorizationCheckerInterface $authorizationChecker, PreviewLocationProvider $locationProvider, CustomLocationControllerChecker $controllerChecker)
    {
        $this->contentService = $contentService;
        $this->kernel = $kernel;
        $this->previewHelper = $previewHelper;
        $this->authorizationChecker = $authorizationChecker;
        $this->locationProvider = $locationProvider;
        $this->controllerChecker = $controllerChecker;
    }