docs(articles): English translation of From Magento to Symfony
uk/articles/magento-to-symfony/data/doctrine.md
+2
−2
110
110
111
111
## Збереження: save() → persist() + flush()
112
112
113
−
**Magento** ·
113
+
**Magento**
114
114
115
115
```php
116
116
$question = $this->questionFactory->create();
123
123
$this->questionRepository->save($other);
124
124
```
125
125
126
−
**Symfony** ·
126
+
**Symfony**
127
127
128
128
```php
129
129
$question = new Question($title, $answer, $category);