I have an entity Dog with OneToOne relation to Collar.
Say I create a new Dog entity and I have the Collar id I want to relate to it. Not the Collar object itself, only it's id number.
$collar = 12;
$dog = new Dog();
$dog->setCollar(?);
Do I need to actually fetch the Collar object from the DB, only to set it's id (which is already given), or is there a way to create a proxy Collar object?