Skip to content

Instantly share code, notes, and snippets.

@Akii
Created December 13, 2012 12:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Akii/4276196 to your computer and use it in GitHub Desktop.
Save Akii/4276196 to your computer and use it in GitHub Desktop.
Internal controller request.
$controller = new \TYPO3\PackageBuilder\Strategy\TYPO3Flow\Controller\StrategyController();
$request = new \TYPO3\Flow\Http\Request(array(), array(), array(), array());
$actionRequest = $request->createActionRequest();
$actionRequest->setControllerPackageKey('TYPO3.PackageBuilder');
$actionRequest->setControllerActionName('lol');
$actionRequest->setArgument('package', array());
$controller->processRequest($actionRequest, new \TYPO3\Flow\Http\Response());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment