Architecture and request · Question 12 of 12
Which statements about services and data objects in TYPO3 are correct?
2 answers are correct. Hard
Show answer
Answer
- A Services are shared by default and should therefore be stateless
- C Domain models and DTOs are data objects, created with new or by the persistence layer, and are not injected
Explanation
The default Services.yaml excludes Classes/Domain/Model/; a shared service instance holding state quickly leads to bugs.