Which of the following is required before using @section and @endsection in blade file?
Correct Answer: @extends
Note: This Question is unanswered, help us to find answer for this one
Which of the following are correct redirects? (Choose all that apply)
Correct Answer: Route::get('redirect-with-helper-shortcut', function () { return redirect('auth/login'); });
Which of the following is correct to display unescaped data in blade?
Correct Answer: Hello, {!! $name !!}.
_____ directory contains much of the custom code used to power your application, including the models, controllers and middleware.
Correct Answer: app
\Config::set('database.connections.customers.database', 'db_A');
Correct Answer: All of the above
List out few different return types of a controller action method?
Which of the following are route redirect methods? (Choose all that apply)
Correct Answer: secure()
To execute the following statement without error, which of the following is correct? $flight = App\User::create(['name' => 'John Doe']);
Correct Answer: In model, set: protected $fillable = ['name'];
Which of the following controller should be extended by all controllers?
Correct Answer: Base Controller
___ web applications respond to meaningful HTTP verbs with appropriate data.
Correct Answer: RESTful
Poor Results!
You need a lot of improvement.
Just don't give up!
Correct Answers: 0/10
Start Practicing with our MCQs given below.
Laravel Framework MCQs | Topic-wise
Related MCQs
BackBone.js
Apache Server
Web Building
Web Development
Front-end Development
Web Graphics Design Principles