doctrine many to many, fetch eager not work

i have problem. I set fetch=eager and dump my entity.
field products = init =false; fetch eager not workin? why?

/**
* @ORMManyToMany(targetEntity="DefaceBundleAdminBundleEntity Product", fetch="EAGER")
 * @ORMJoinTable(name="product_basket",
 * joinColumns={@ORMJoinColumn(name="basket_id", referencedColumnName="id")},
 * inverseJoinColumns={@ORMJoinColumn(name="product_code", referencedColumnName="code")}
 * )
 */
private $products;


Source: php

Leave a Reply