PHPDoc the methods

This commit is contained in:
James Brooks
2014-12-01 08:38:26 +00:00
parent 13b858a99e
commit 4762864c6f
5 changed files with 29 additions and 5 deletions

View File

@@ -1,12 +1,20 @@
<?php
class SetupController extends Controller {
/**
* Returns the setup page.
* @return \Illuminate\View\View
*/
public function showSetup() {
return View::make('setup')->with([
'pageTitle' => 'Setup'
]);
}
/**
* Handles the actual app setup.
* @return \Illuminate\Http\RedirectResponse
*/
public function setupCachet() {
$postData = Input::get();
$v = Validator::make($postData, [