我有一個傳遞給樹枝視圖的實體字段,它呈現並正常工作。 是否有可能獲得該領域的<option>值,並將其呈現在其他地方(我需要另一個選擇與實體字段的值相同>。 說,這是我的實體領域 {{ form_widget(entity_field) }}
我想是這樣這 <select id="just_another_select">
{% for value in entity_field.value
非常感謝Matteo(phpunit in symfony2 - No tests executed)我現在可以測試我的功能測試。 You must change the main Request object in the front controller (app.php)
in order to use the `host_with_path` strategy.
所以我沒有改變它在a
我有一個用戶實體和一個關係實體。 (該關係的實體是確定社會關係的Facebook好友,Twitter的追隨者...等) 這裏是我的關係類來更好地理解它: /**
* Describes a relationship between two users in the direction of user1 to user2. (i.e. user1 is 'friends' with user2)