What does the vendor directory contains?
Assets
Third-party code
Configuration files
Laravel Framework code
Browse topic-based Programming Technologies practice sets.
94 practice sets · Page 5 of 5
What does the vendor directory contains?
Assets
Third-party code
Configuration files
Laravel Framework code
Artisan command which is used to flush the application cache is
cache:clear
cache:forget
cache:remove
cache:flush
Which of the following method breaks the collection into multiple, smaller collections of a given size?
split()
break()
explode()
chunk()
Bootstrap directory in Laravel is used to
Load the configuration files
Call laravel library functions
Initialize a Laraval application
Load laravel classes and models
The method which returns the average value of a given key ?
avg()
avg_val()
average()
median()
Which artisan command is used to remove the compiled class file?
clear:all
compiled:clear
clear compiled
clear-compiled
What is @yield used for?
to display the contents of a given section
to extend an layout
to include a file
None of the above
What is it Blade?
Template Engine
package
view file
framework
How to list all routes by terminal?
php artisan routes
php artisan getroutes
php artisan route:list
php artisan listroutes
Command is used to remove the compiled class file in Laravel is
php artisan clear-class
php artisan clear-compiled
php artisan down
php artisan inspire
The command is used to start laravel server is
php artisan serve
php artisan start
php artisan start-server
php artisan project_name
Laravel command line interface is
CLI
php artisan
composer
git
All records from Laravel collection are return by which collection method?
->all()
->get()
->where()
->whereAll()
Laravel is based on
MVVM Design Pattern
MVC Design Pattern
Singleton Design Pattern
Composite Design Pattern