Unlimited WordPress themes, graphics, videos & courses! Unlimited asset downloads! From $16.50/m
Lessons:13Length:2.3 hours
Getting started with symfony2
  • Overview
  • Transcript

2.4 Working With Entities

In this lesson we’re going to create and define an entity, which you can think of as a model. You’ll learn how to link the entity to Doctrine, the Object Relational Mapper (ORM) you’ll use for managing it. Then you’ll set validation for your entity's properties, which you’ll be using later in the course as you create new books. You’ll also learn how to generate the needed getters, setters, database, and table schema using the console. Let's get started!