8000 [Form] Introduced proxy methods to allow easier handling of form errors by zebba · Pull Request #29521 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Form] Introduced proxy methods to allow easier handling of form errors #29521

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 7 commits into from
Closed
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
Prev Previous commit
Next Next commit
Added missing implementation on Button
  • Loading branch information
zebba committed Dec 8, 2018
commit 79bea84b64248231543a2316886d0fbb3a3e9116
16 changes: 16 additions & 0 deletions src/Symfony/Component/Form/Button.php
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,22 @@ public function getErrors($deep = false, $flatten = true)
return new FormErrorIterator($this, array());
}

/**
* {@inheritdoc}
*/
public function getAllErrors()
{
return $this->getErrors(true);
}

/**
* {@inheritdoc}
*/
public function getOnlyGlobalErrors()
{
return $this->getErrors();
}

/**
* Unsupported method.
*
Expand Down
0