for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Http\Controllers;
use Illuminate\Support\Facades\Lang;
use App\Models\JobPoster;
class DemoController extends Controller
{
/**
* Display a listing of the applicants to specified job.
*
* @return \Illuminate\Http\Response
*/
public function reviewApplications()
$jobPoster = factory(JobPoster::class)->create();
return view('manager/review_applications', [
return view('manager/rev...ubmitted_applications))
Illuminate\View\View
Illuminate\Http\Response
/*Localization Strings*/
'jobs_l10n' => Lang::get('manager/job_index'),
/* Data */
'job' => $jobPoster,
'applications' => $jobPoster->submitted_applications,
]);
If a function call spawns multiple lines, the coding standard suggests to move the closing parenthesis to a new line:
someFunctionCall( $firstArgument, $secondArgument, $thirdArgument ); // Closing parenthesis on a new line.
}