示例#1
0
 /**
  * Initialize
  */
 public function __construct()
 {
     $this->app = new \Bullet\App();
     $this->objectManager = GeneralUtility::makeInstance('Cundd\\Rest\\ObjectManager');
     $this->requestFactory = $this->objectManager->getRequestFactory();
     $this->responseFactory = $this->objectManager->getResponseFactory();
     self::$sharedDispatcher = $this;
 }
示例#2
0
 /**
  * Initialize
  */
 public function __construct()
 {
     $this->app = new \Bullet\App();
     $this->objectManager = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('Cundd\\Rest\\ObjectManager');
     $this->objectManager->setDispatcher($this);
     self::$sharedDispatcher = $this;
 }