V
Size: a a a
V
PT
?
$users = User::query()->get();
foreach ($users as $user) {
$user->getRelation1();
$user->getRelation2();
$user->getRelation3();
$user->getRelation4();
}
PT
А
composer create-project symfony/skeleton
GT
mails:
id | name
---------
1 | One
mail_user:
mail_id | user_id
-----------------
1 | 2
1 | 3
users:
id | name
---------
2 | Two
3 | Three
user_product:
user_id | product_id
---------------------
2 | 4
3 | 5
3 | 6
products:
id | name
---------
4 | Four
5 | Five
6 | Six
PT
А
V
S
AS
?
PT
V
AS
f
GT
?
V
V