Skip to content

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