Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
corrected syntax errors
  • Loading branch information
dsyph3r committed Jul 27, 2011
commit 551ce9bf66b6d4b58b084bf9bc35b4e16de096b7
4 changes: 2 additions & 2 deletions book/validation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ annotations if you're using the annotation method to specify your constraints:
// app/config/config.php
$container->loadFromExtension('framework', array('validation' => array(
'enable_annotations' => true,
));
)));

.. index::
single: Validation; Constraints
Expand Down Expand Up @@ -367,7 +367,7 @@ constraint, have several configuration options available. Suppose that the
$metadata->addPropertyConstraint('gender', new Choice(array(
'choices' => array('male', 'female'),
'message' => 'Choose a valid gender.',
));
)));
}
}

Expand Down