Guest User

Untitled

a guest
Jul 22nd, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. MyController extends Zend_Controller_Action {
  2. // private vars
  3. [...]
  4.  
  5. public function __constructor($authenticationService, $userRepository) {
  6. $this->_authServ = $authenticationService;
  7. $this->_userRepo = $userRepository;
  8. }
  9.  
  10. }
  11.  
  12. For(authenticationService).Use(WhatEverClass);
  13.  
  14. $currentController->authServ = $authenticationService;
  15. $currentController->userRepo = $userRepository;
Add Comment
Please, Sign In to add comment