Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MyController extends Zend_Controller_Action {
- // private vars
- [...]
- public function __constructor($authenticationService, $userRepository) {
- $this->_authServ = $authenticationService;
- $this->_userRepo = $userRepository;
- }
- }
- For(authenticationService).Use(WhatEverClass);
- $currentController->authServ = $authenticationService;
- $currentController->userRepo = $userRepository;
Add Comment
Please, Sign In to add comment