Browse files

Update docs.

  • Loading branch information...
1 parent dcff02c commit bbbd505a92161157794b02db8a65ea8c3ea3ca6c @markstory markstory committed Feb 5, 2014
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/View/Form/EntityContext.php
View
4 src/View/Form/EntityContext.php
@@ -25,6 +25,7 @@
/**
* Provides a form context around a single entity and its relations.
+ * It also can be used as context around an array or iterator of entities.
*
* This class lets FormHelper interface with entities or collections
* of entities.
@@ -35,7 +36,8 @@
* - `table` Either the ORM\Table instance to fetch schema/validators
* from, an array of table instances in the case of a form spanning
* multiple entities, or the name(s) of the table.
- * If this is null the table name(s) will be determined using conventions.
+ * If this is null the table name(s) will be determined using naming
+ * conventions.
* - `validator` Either the Validation\Validator to use, or the name of the
* validation method to call on the table object. For example 'default'.
* Defaults to 'default'. Can be an array of table alias=>validators when

0 comments on commit bbbd505

Please sign in to comment.