Intermediate PHP
Q79 / 100

What is PHP's Inversion of Control (IoC) container?

Correct! Well done.

Incorrect.

The correct answer is B) A component that automatically resolves and injects class dependencies based on type hints, used by Laravel's Service Container

B

Correct Answer

A component that automatically resolves and injects class dependencies based on type hints, used by Laravel's Service Container

Explanation

IoC containers auto-wire dependencies by inspecting constructor type hints via Reflection. Laravel's App::make() and type-hint injection in controllers use this.

Progress
79/100