Fixed dockblock.
This commit is contained in:
parent
9d03112aed
commit
e0803df283
8 changed files with 86 additions and 2 deletions
|
|
@ -41,6 +41,16 @@ class Application extends b8\Application
|
|||
*/
|
||||
protected $projectStore;
|
||||
|
||||
/**
|
||||
* Create the PHPCI web application.
|
||||
*
|
||||
* @param Config $config
|
||||
* @param Request $request
|
||||
* @param Response $response
|
||||
* @param UserStore $userStore
|
||||
* @param ProjectStore $projectStore
|
||||
* @param Container $container
|
||||
*/
|
||||
public function __construct(
|
||||
Config $config,
|
||||
Request $request,
|
||||
|
|
@ -161,6 +171,13 @@ class Application extends b8\Application
|
|||
return $this->controller;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if the specified controller exist.
|
||||
*
|
||||
* @param array $route
|
||||
*
|
||||
* @return boolean
|
||||
*/
|
||||
public function controllerExists($route)
|
||||
{
|
||||
return $this->container->has('application.controller.' . strtolower($route['controller']));
|
||||
|
|
@ -168,6 +185,7 @@ class Application extends b8\Application
|
|||
|
||||
/**
|
||||
* Injects variables into the layout before rendering it.
|
||||
*
|
||||
* @param View $layout
|
||||
*/
|
||||
protected function setLayoutVariables(View &$layout)
|
||||
|
|
|
|||
|
|
@ -41,6 +41,15 @@ class BuildController extends \PHPCI\Controller
|
|||
*/
|
||||
protected $buildService;
|
||||
|
||||
/**
|
||||
* Create the Build controller
|
||||
*
|
||||
* @param Config $config
|
||||
* @param Request $request
|
||||
* @param Response $response
|
||||
* @param BuildStore $buildStore
|
||||
* @param BuildService $buildService
|
||||
*/
|
||||
public function __construct(
|
||||
Config $config,
|
||||
Request $request,
|
||||
|
|
|
|||
|
|
@ -44,6 +44,16 @@ class BuildStatusController extends \PHPCI\Controller
|
|||
*/
|
||||
protected $projectStore;
|
||||
|
||||
/**
|
||||
* Create the BuildStatus controller.
|
||||
*
|
||||
* @param Config $config
|
||||
* @param Request $request
|
||||
* @param Response $response
|
||||
* @param BuildStore $buildStore
|
||||
* @param ProjectStore $projectStore
|
||||
* @param HttpClient $shieldsClient
|
||||
*/
|
||||
public function __construct(
|
||||
Config $config,
|
||||
Request $request,
|
||||
|
|
|
|||
|
|
@ -37,6 +37,15 @@ class HomeController extends \PHPCI\Controller
|
|||
*/
|
||||
protected $projectStore;
|
||||
|
||||
/**
|
||||
* Create the Home controller.
|
||||
*
|
||||
* @param Config $config
|
||||
* @param Request $request
|
||||
* @param Response $response
|
||||
* @param BuildStore $buildStore
|
||||
* @param ProjectStore $projectStore
|
||||
*/
|
||||
public function __construct(
|
||||
Config $config,
|
||||
Request $request,
|
||||
|
|
|
|||
|
|
@ -54,6 +54,17 @@ class ProjectController extends PHPCI\Controller
|
|||
*/
|
||||
protected $buildService;
|
||||
|
||||
/**
|
||||
* Create the Project controller.
|
||||
*
|
||||
* @param Config $config
|
||||
* @param Request $request
|
||||
* @param Response $response
|
||||
* @param BuildStore $buildStore
|
||||
* @param ProjectStore $projectStore
|
||||
* @param ProjectService $projectService
|
||||
* @param BuildService $buildService
|
||||
*/
|
||||
public function __construct(
|
||||
Config $config,
|
||||
Request $request,
|
||||
|
|
|
|||
|
|
@ -30,6 +30,14 @@ class SessionController extends \PHPCI\Controller
|
|||
*/
|
||||
protected $userStore;
|
||||
|
||||
/**
|
||||
* Create the Sesssion controller.
|
||||
*
|
||||
* @param Config $config
|
||||
* @param Request $request
|
||||
* @param Response $response
|
||||
* @param UserStore $userStore
|
||||
*/
|
||||
public function __construct(
|
||||
Config $config,
|
||||
Request $request,
|
||||
|
|
@ -44,8 +52,8 @@ class SessionController extends \PHPCI\Controller
|
|||
}
|
||||
|
||||
/**
|
||||
* Handles user login (form and processing)
|
||||
*/
|
||||
* Handles user login (form and processing)
|
||||
*/
|
||||
public function login()
|
||||
{
|
||||
$isLoginFailure = false;
|
||||
|
|
|
|||
|
|
@ -38,6 +38,15 @@ class UserController extends Controller
|
|||
*/
|
||||
protected $userService;
|
||||
|
||||
/**
|
||||
* Create the User controller.
|
||||
*
|
||||
* @param Config $config
|
||||
* @param Request $request
|
||||
* @param Response $response
|
||||
* @param UserStore $userStore
|
||||
* @param UserService $userService
|
||||
*/
|
||||
public function __construct(
|
||||
Config $config,
|
||||
Request $request,
|
||||
|
|
|
|||
|
|
@ -48,6 +48,16 @@ class WebhookController extends \b8\Controller
|
|||
*/
|
||||
protected $buildService;
|
||||
|
||||
/**
|
||||
* Create the Webhook controller.
|
||||
*
|
||||
* @param Config $config
|
||||
* @param Request $request
|
||||
* @param Response $response
|
||||
* @param BuildStore $buildStore
|
||||
* @param ProjectStore $projectStore
|
||||
* @param BuildService $buildService
|
||||
*/
|
||||
public function __construct(
|
||||
Config $config,
|
||||
Request $request,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue