Skip to content

On failure method suffix#16

Merged
koriym merged 2 commits into
ray-di:1.xfrom
koriym:on-failure-method
Sep 16, 2015
Merged

On failure method suffix#16
koriym merged 2 commits into
ray-di:1.xfrom
koriym:on-failure-method

Conversation

@koriym
Copy link
Copy Markdown
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