/** * @param string $name * @return \Nette\Application\UI\Presenter */ protected function createPresenter($name) { $presenterFactory = new \Nette\Application\PresenterFactory(function ($class) { /** @var \Nette\Application\UI\Presenter $presenter */ $presenter = new $class(); $presenter->injectPrimary(NULL, NULL, NULL, new \Nette\Http\Request(new \Nette\Http\UrlScript()), new \Nette\Http\Response(), NULL, NULL, new MockLatte()); $presenter->autoCanonicalize = FALSE; return $presenter; }); return $presenterFactory->createPresenter($name); }
/** * @return Nette\Application\IPresenterFactory */ public function createServiceApplication__presenterFactory() { $service = new Nette\Application\PresenterFactory(new Nette\Bridges\ApplicationDI\PresenterFactoryCallback($this, 1, NULL)); $service->setMapping(array('*' => 'App\\*Module\\Presenters\\*Presenter')); return $service; }
/** * @return Nette\Application\IPresenterFactory */ public function createServiceApplication__presenterFactory() { $service = new Nette\Application\PresenterFactory(new Nette\Bridges\ApplicationDI\PresenterFactoryCallback($this, 5, '/home/www/Git/nette/app/../temp/cache/Nette%5CBridges%5CApplicationDI%5CApplicationExtension')); $service->setMapping(array('*' => 'App\\*Module\\Presenters\\*Presenter')); return $service; }
/** * @return Nette\Application\IPresenterFactory */ public function createServiceApplication__presenterFactory() { $service = new Nette\Application\PresenterFactory(new Nette\Bridges\ApplicationDI\PresenterFactoryCallback($this, 5, 'C:\\Users\\prcharom\\Desktop\\EasyPHP-DevServer-14.1VC9\\data\\localweb\\nastenka\\app/../temp/cache/Nette%5CBridges%5CApplicationDI%5CApplicationExtension')); $service->setMapping(array('*' => 'App\\*Module\\Presenters\\*Presenter')); return $service; }
/** * @return Nette\Application\PresenterFactory */ public function createServiceNette__presenterFactory() { $service = new Nette\Application\PresenterFactory('/home/fuca/Projects/www/sportsclub/tests', $this); $service->setMapping(array('*' => 'App\\*Module\\Presenters\\*Presenter')); return $service; }
/** * @return Nette\Application\PresenterFactory */ public function createServiceNette__presenterFactory() { $service = new Nette\Application\PresenterFactory('/hosting/www/pixware.cz/rezervace/app', $this); $service->setMapping(array('*' => 'App\\*Module\\Presenters\\*Presenter')); return $service; }
/** * @return Nette\Application\IPresenterFactory */ public function createServiceApplication__presenterFactory() { $service = new Nette\Application\PresenterFactory(new Nette\Bridges\ApplicationDI\PresenterFactoryCallback($this, 5, 'C:\\Users\\Raiper34\\Desktop\\server\\root\\nette\\app/../temp/cache/Nette%5CBridges%5CApplicationDI%5CApplicationExtension')); $service->setMapping(array('*' => 'App\\*Module\\Presenters\\*Presenter')); return $service; }
/** * @return Nette\Application\IPresenterFactory */ public function createServiceApplication__presenterFactory() { $service = new Nette\Application\PresenterFactory(new Nette\Bridges\ApplicationDI\PresenterFactoryCallback($this, 5, '/Applications/MAMP/htdocs/rezervace/sandbox/app/../temp/cache/Nette%5CBridges%5CApplicationDI%5CApplicationExtension')); $service->setMapping(array('*' => 'App\\*Module\\Presenters\\*Presenter')); return $service; }
/** * @return Nette\Application\PresenterFactory */ public function createServiceNette__presenterFactory() { $service = new Nette\Application\PresenterFactory('C:\\Program Files (x86)\\EasyPHP-DevServer-13.1VC11\\data\\localweb\\projects\\atlasHornin\\app', $this); $service->setMapping(array('*' => '*Module\\*Presenter')); return $service; }
/** * @return Nette\Application\IPresenterFactory */ public function createServiceApplication__presenterFactory() { $service = new Nette\Application\PresenterFactory(new Nette\Bridges\ApplicationDI\PresenterFactoryCallback($this, 1, NULL)); $service->setMapping(array('*' => 'App\\*Module\\Presenters\\*Presenter')); if (method_exists($service, 'setMapping')) { $service->setMapping(array('Kdyby' => 'KdybyModule\\*\\*Presenter')); } elseif (property_exists($service, 'mapping')) { $service->mapping['Kdyby'] = 'KdybyModule\\*\\*Presenter'; } return $service; }
/** * @return Nette\Application\PresenterFactory */ public function createServiceNette__presenterFactory() { $service = new Nette\Application\PresenterFactory('C:\\xampp\\htdocs\\MyWallet\\app', $this); $service->setMapping(array('*' => 'App\\*Module\\*Presenter')); return $service; }
/** * @return Nette\Application\IPresenterFactory */ public function createServiceApplication__presenterFactory() { $service = new Nette\Application\PresenterFactory(new Nette\Bridges\ApplicationDI\PresenterFactoryCallback($this, 5, 'C:\\xampp\\htdocs\\TransportCompany\\app/../temp/cache/Nette%5CBridges%5CApplicationDI%5CApplicationExtension')); $service->setMapping(array('*' => 'App\\*Module\\Presenters\\*Presenter')); return $service; }
/** * @return Nette\Application\IPresenterFactory */ public function createServiceApplication__presenterFactory() { $service = new Nette\Application\PresenterFactory(new Nette\Bridges\ApplicationDI\PresenterFactoryCallback($this, 5, 'C:\\Users\\Hadi.k\\Dropbox\\vyvojraskaSekce\\WebDesign\\BrowserGameLikeRust\\src\\buildModule\\app/../temp/cache/Nette%5CBridges%5CApplicationDI%5CApplicationExtension')); $service->setMapping(array('*' => 'App\\*Module\\Presenters\\*Presenter')); return $service; }
/** * @return Nette\Application\PresenterFactory */ public function createServiceNette__presenterFactory() { $service = new Nette\Application\PresenterFactory('C:\\wamp\\www\\rocnikovy_projekt\\app', $this); $service->setMapping(array('*' => 'App\\*Module\\Presenters\\*Presenter')); return $service; }
/** * @param string $name * @return \Nette\Application\UI\Presenter */ protected function createPresenter($name = 'MultiUpload') { $presenterFactory = new \Nette\Application\PresenterFactory(function ($class) { /** @var \Nette\Application\UI\Presenter $presenter */ $presenter = new $class(); $presenter->injectPrimary(new \Nette\DI\Container(), NULL, NULL, new \Nette\Http\Request(new \Nette\Http\UrlScript()), new \Nette\Http\Response(), NULL, NULL, new MockLatte()); $presenter->autoCanonicalize = FALSE; $presenter->imageStorage = new \WebChemistry\Images\FileStorage\FileStorage('image.gif', ['helpers' => ['sharpen' => new \WebChemistry\Images\Helpers\Sharpen()], 'wwwDir' => __DIR__ . '/../_data', 'assetsDir' => 'tmp', 'defaultImage' => 'image.gif'] + (new \WebChemistry\Images\DI\ImagesExtension())->defaults, new \Nette\Http\Request(new \Nette\Http\UrlScript())); return $presenter; }); return $presenterFactory->createPresenter($name); }
/** * @return Nette\Application\PresenterFactory */ public function createServiceNette__presenterFactory() { $service = new Nette\Application\PresenterFactory('/Applications/MAMP/htdocs/app', $this); $service->setMapping(array('*' => 'App\\*Module\\Presenters\\*Presenter')); return $service; }
/** * @return Nette\Application\PresenterFactory */ public function createServiceNette__presenterFactory() { $service = new Nette\Application\PresenterFactory('/home/www/pps-eu.cz/www/asystem.pps-eu.cz/app', $this); $service->setMapping(array('*' => 'App\\*Module\\Presenters\\*Presenter')); return $service; }