/** * @internal param \Auryn\Injector $injector * @internal param $category * @return TextResponse */ public function renderCategoryIndex() { $injectionParams = new InjectionParams(); $injectionParams->defineParam('pageTitle', "Imagick demos"); $injectionParams->alias('ImagickDemo\\Navigation\\Nav', 'ImagickDemo\\Navigation\\CategoryNav'); return JigExecutable::create('categoryIndex', $injectionParams); }
public function renderTemplateExecutable() { return JigExecutable::create('pages/renderTemplateExecutable'); }
public function createResponse() { return JigExecutable::create('admin/queueInfo'); }
function listRepoCommitsIterator(GithubService $api, AuthToken $oauth2Token) { $username = "******"; $repo = "GithubArtaxService"; $listRepoCommits = $api->listRepoCommits($oauth2Token, $username, $repo); $command = $api->listRepoCommits($oauth2Token, $username, $repo); $command->setAuthor('Danack'); $commitsIterator = new \GithubService\Iterator\ListRepoCommitsIterator($api, $oauth2Token, $listRepoCommits); $context = new \GithubExample\Context\ListRepoCommitsByPage(); $page = 1; foreach ($commitsIterator as $commits) { $context->addCommits($page, $commits); $page++; } return JigExecutable::createWithSharedObjects("pages/listRepoCommitsIterator", [$context]); }
public function createResponse() { return JigExecutable::create('admin/fpmStatus'); }