Skip to content

[WCM] Added documentation for the new OptionsResolver flags #3731

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

webmozart
Copy link
Contributor

Q A
Doc fix? no
New docs? yes (symfony/symfony#10616)
Applies to 2.5+
Fixed tickets -

@@ -423,4 +428,81 @@ need to use the other options for normalizing::
));
}

.. _suppress the exception:

Dealing With Errors
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dealing with Errors (with is a closed class word)

@wouterj
Copy link
Member

wouterj commented Mar 28, 2014

You are missing a versionadded directive


* ``FORBID_UNKNOWN`` (the default)
* ``IGNORE_UNKNOWN``
* ``REMOVE_UNKNOWN``
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't we use OptionsResolverInterface::REMOVE_UNKNOWN here rather than REMOVE_UNKNOWN, to make it clear that these are constants on the interface ?

@wouterj wouterj changed the title Added documentation for the new OptionsResolver flags [WCM] Added documentation for the new OptionsResolver flags May 21, 2014
@webmozart
Copy link
Contributor Author

The corresponding PR was closed. This is obsolete.

@webmozart webmozart closed this Oct 27, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants