Example #1
0
 /**
  * class constructor
  *
  * @param ConfigurationManagerInterface $configManager  the configuration manager
  * @param ObjectManager                 $objectManager  the object manager
  * @param SessionHandlerInterface       $sessionHandler the sessionHandlerFactory
  * @param Request                       $request        the request instance
  * @param Response                      $responses      the response instance
  */
 public function __construct(ConfigurationManagerInterface $configManager, ObjectManager $objectManager, SessionHandlerInterface $sessionHandler, Request $request, Response $responses)
 {
     $this->configManager = $configManager;
     $this->objectManager = $objectManager;
     $this->sessionHandler = $sessionHandler;
     $this->request = $request;
     $this->response = $responses;
     $this->request->injectSessionHandler($sessionHandler);
 }