Doctrine ORM – Set a Custom Parameter Posted on March 8, 2010 by Tim Golen Reply In order to set a parameter on a Doctrine object that doesn’t exist from your database, use the mapValue() method: $record->mapValue(‘name’, $value);