Skip to content
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

On failure method suffix #16

Merged
merged 2 commits into from
Sep 16, 2015
Merged

On failure method suffix #16

merged 2 commits into from
Sep 16, 2015

Conversation

koriym
Copy link
Member

@koriym koriym commented Sep 16, 2015

ValidationFailed is used for validation failed method suffix when method property is unset.

class Foo
{
    /**
     * @FormValidation
     */
    public function createAction($name)
    {
    }

    public function createActionValidationFailed()
    {
        // called when validation failed
    }

koriym added a commit that referenced this pull request Sep 16, 2015
@koriym koriym merged commit 1afcfd2 into ray-di:1.x Sep 16, 2015
@koriym koriym deleted the on-failure-method branch September 16, 2015 03:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant