public function __construct(EntityMapper $mapper, TemplateManager $templateManager, $modules) { parent::__construct($mapper); $this->templateManager = $templateManager; $this->modules =& $modules; }
public function __construct(\DoctrineModule\Forms\Mappers\EntityMapper $mapper, SecurityManager $securityManager) { parent::__construct($mapper); $this->securityManager = $securityManager; }
public function __construct(EntityMapper $mapper, ApiClientFactory $apiClientFactory) { parent::__construct($mapper); $this->apiClientFactory = $apiClientFactory; }
/** * @param \DoctrineModule\Forms\Mappers\EntityMapper $mapper * @param \Nette\Security\User $user */ public function __construct(EntityMapper $mapper, User $user) { parent::__construct($mapper); $this->user = $user; }