Doctrine 2 - ORM

Inserting NULL for Undefined Variables