class ObjectAssociationBuilder (View source)

Methods

addAssociation(Association $association, Entity $subject, Entity $target, $target_property = null, $inversed_by = null, $is_owning_association = null)

No description

addManyToOne(Entity $subject, Entity $target, $target_property = null, $inversed_by = null)

No description

addOneToMany(Entity $subject, Entity $target, $target_property = null, $inversed_by = null, $is_owning_association = null)

No description

addManyToMany(Entity $subject, Entity $target, $target_property = null, $inversed_by = null)

No description

addOneToOneUnidirectional(Entity $subject, Entity $target, $target_property = null)

No description

addOneToOne(Entity $subject, Entity $target, $target_property = null, $inversed_by = null, $is_owning_association = null)

No description

Details

protected addAssociation(Association $association, Entity $subject, Entity $target, $target_property = null, $inversed_by = null, $is_owning_association = null)

Parameters

Association $association
Entity $subject
Entity $target
$target_property
$inversed_by
$is_owning_association

addManyToOne(Entity $subject, Entity $target, $target_property = null, $inversed_by = null)

Parameters

Entity $subject
Entity $target
$target_property
$inversed_by

addOneToMany(Entity $subject, Entity $target, $target_property = null, $inversed_by = null, $is_owning_association = null)

Parameters

Entity $subject
Entity $target
$target_property
$inversed_by
$is_owning_association

addManyToMany(Entity $subject, Entity $target, $target_property = null, $inversed_by = null)

Parameters

Entity $subject
Entity $target
$target_property
$inversed_by

addOneToOneUnidirectional(Entity $subject, Entity $target, $target_property = null)

Parameters

Entity $subject
Entity $target
$target_property

addOneToOne(Entity $subject, Entity $target, $target_property = null, $inversed_by = null, $is_owning_association = null)

Parameters

Entity $subject
Entity $target
$target_property
$inversed_by
$is_owning_association