Description
In this episode, we’ll create our first Sylius Resource: Brand. This is the resource we’ll be working on and gradually expanding throughout the rest of the course. We’ll start with the basics — simple properties like id, code, and name — and then build on top of them step by step later on.
In the second part of the video, we’ll run the debug:container command to see what registering an entity as a Sylius Resource actually gives us, followed by sylius:debug:resource.
Finally, we’ll create a simple test CLI command where we’ll use our resource together with its factory, repository, and manager.