Sulu\Bundle\ContentBundle\Markup\Link\PageLinkProvider::__construct PHP Метод

__construct() публичный Метод

public __construct ( Sulu\Component\Content\Repository\ContentRepositoryInterface $contentRepository, Sulu\Component\Webspace\Manager\WebspaceManagerInterface $webspaceManager, Symfony\Component\HttpFoundation\RequestStack $requestStack, string $environment )
$contentRepository Sulu\Component\Content\Repository\ContentRepositoryInterface
$webspaceManager Sulu\Component\Webspace\Manager\WebspaceManagerInterface
$requestStack Symfony\Component\HttpFoundation\RequestStack
$environment string
    public function __construct(ContentRepositoryInterface $contentRepository, WebspaceManagerInterface $webspaceManager, RequestStack $requestStack, $environment)
    {
        $this->contentRepository = $contentRepository;
        $this->webspaceManager = $webspaceManager;
        $this->requestStack = $requestStack;
        $this->environment = $environment;
    }