Difference between #15 and #16 of
Yii3 - How to start

Revision #16 has been created by rackycz rackycz on Oct 8, 2025, 2:41:07 PM with the memo:

edit
« previous (#15) next (#17) »

Changes

Title unchanged

Yii3 - How to start

Category unchanged

Tutorials

Yii version unchanged

3.0

Tags unchanged

Content changed

[...]
Now you can call the URL and see all the users. (If you entered some)
http://localhost:9080

> Note:
> You can also use Injector (and method `$injector->make()`) instead of ContainerInterface (and method `$container->get()`). Injector seems to allow you to pass input arguments if needed.

 
> PS: The input parameter of `new Query(ConnectionInterface $db)` is automatically provided as it is defined in DI. See the file you created earlier above: `config/common/di/db-mysql.php`
1 0
2 followers
Viewed: 594 times
Version: 3.0
Category: Tutorials
Tags:
Written by: rackycz rackycz
Last updated by: rackycz rackycz
Created on: Oct 8, 2025
Last updated: 2 days ago
Update Article

Revisions

View all history