Skip to content

Commit

Permalink
Document interface method (sonata-project#3959)
Browse files Browse the repository at this point in the history
This should give a better idea of what this method is supposed to be
doing.
  • Loading branch information
greg0ire authored and soullivaneuh committed Jul 5, 2016
1 parent c03fd27 commit 2674406
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 4 additions & 2 deletions Builder/BuilderInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@
interface BuilderInterface
{
/**
* @param AdminInterface $admin
* @param FieldDescriptionInterface $fieldDescription
* Adds missing information to the given field description from the model manager metadata, and the given admin.
*
* @param AdminInterface $admin will be used to gather information
* @param FieldDescriptionInterface $fieldDescription will be modified
*/
public function fixFieldDescription(AdminInterface $admin, FieldDescriptionInterface $fieldDescription);
}
4 changes: 3 additions & 1 deletion Builder/FormContractorInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
use Symfony\Component\Form\FormFactoryInterface;

/**
* Interface FormContractorInterface.
* This interface should be implemented in persistence bundles.
*
* @author Thomas Rabaix <[email protected]>
*/
Expand All @@ -40,6 +40,8 @@ public function __construct(FormFactoryInterface $formFactory);
public function getFormBuilder($name, array $options = array());

/**
* Should provide Symfony form options.
*
* @abstract
*
* @param string $type
Expand Down

0 comments on commit 2674406

Please sign in to comment.