sylius | Arroba IT
Skip to content

Articles tagged with "sylius"

Using Doctrine Annotations in Sylius

As a newbie to Sylius and Symfony, the many configuration files are overwhelmed me, so I decided to reduce them by doing the database mappings inside my models using Doctrine Annotations. Since Sylius recommends the usage of YAML or XML (for reasons I don’t know), there is no documentation available about how to switch to annotations. However, after some trial and error I got it to work.

Date