Sulu\Bundle\ContentBundle\Repository\NodeRepository::__construct PHP Метод

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

public __construct ( Sulu\Component\Content\Mapper\ContentMapperInterface $mapper, Sulu\Component\PHPCR\SessionManager\SessionManagerInterface $sessionManager, Sulu\Bundle\AdminBundle\UserManager\UserManagerInterface $userManager, Sulu\Component\Webspace\Manager\WebspaceManagerInterface $webspaceManager, Sulu\Component\Content\Query\ContentQueryBuilderInterface $queryBuilder, Sulu\Component\Content\Query\ContentQueryExecutorInterface $queryExecutor, Sulu\Component\Security\Authorization\AccessControl\AccessControlManagerInterface $accessControlManager, Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface $tokenStorage = null, Psr\Log\LoggerInterface $logger )
$mapper Sulu\Component\Content\Mapper\ContentMapperInterface
$sessionManager Sulu\Component\PHPCR\SessionManager\SessionManagerInterface
$userManager Sulu\Bundle\AdminBundle\UserManager\UserManagerInterface
$webspaceManager Sulu\Component\Webspace\Manager\WebspaceManagerInterface
$queryBuilder Sulu\Component\Content\Query\ContentQueryBuilderInterface
$queryExecutor Sulu\Component\Content\Query\ContentQueryExecutorInterface
$accessControlManager Sulu\Component\Security\Authorization\AccessControl\AccessControlManagerInterface
$tokenStorage Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface
$logger Psr\Log\LoggerInterface
    public function __construct(ContentMapperInterface $mapper, SessionManagerInterface $sessionManager, UserManagerInterface $userManager, WebspaceManagerInterface $webspaceManager, ContentQueryBuilderInterface $queryBuilder, ContentQueryExecutorInterface $queryExecutor, AccessControlManagerInterface $accessControlManager, TokenStorageInterface $tokenStorage = null, LoggerInterface $logger)
    {
        $this->mapper = $mapper;
        $this->sessionManager = $sessionManager;
        $this->userManager = $userManager;
        $this->webspaceManager = $webspaceManager;
        $this->queryBuilder = $queryBuilder;
        $this->queryExecutor = $queryExecutor;
        $this->accessControlManager = $accessControlManager;
        $this->tokenStorage = $tokenStorage;
        $this->logger = $logger;
    }