Skip to content

Commit

Permalink
Deprecate BuilderInterface (#7519)
Browse files Browse the repository at this point in the history
* Deprecate BuilderInterface

* Update FormContractorInterface.php
  • Loading branch information
VincentLanglet authored Oct 5, 2021
1 parent 5fcc06b commit 629f215
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Builder/BuilderInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@

/**
* @author Thomas Rabaix <[email protected]>
*
* NEXT_MAJOR: Remove this interface
*
* @deprecated since sonata-project/admin-bundle version 4.x and will be removed in 5.0.
*/
interface BuilderInterface
{
Expand Down
5 changes: 5 additions & 0 deletions src/Builder/FormContractorInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@
*/
interface FormContractorInterface extends BuilderInterface
{
/**
* Adds missing information to the given field description and the given admin.
*/
public function fixFieldDescription(FieldDescriptionInterface $fieldDescription): void;

/**
* @param array<string, mixed> $formOptions
*/
Expand Down

0 comments on commit 629f215

Please sign in to comment.