Skip to content

Commit

Permalink
removed methods setEventDispatcher, setFormFactory, `setRequestSt…
Browse files Browse the repository at this point in the history
…ack` from `FormFlowInterface`
  • Loading branch information
craue committed Dec 2, 2015
1 parent a6492b2 commit 4109e69
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 18 deletions.
18 changes: 0 additions & 18 deletions Form/FormFlowInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@

use Craue\FormFlowBundle\Exception\InvalidTypeException;
use Craue\FormFlowBundle\Storage\DataManagerInterface;
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
use Symfony\Component\Form\FormFactoryInterface;
use Symfony\Component\Form\FormInterface;
use Symfony\Component\HttpFoundation\RequestStack;

/**
* @author Christian Raue <christian.raue@gmail.com>
Expand All @@ -21,16 +18,6 @@ interface FormFlowInterface {
*/
function getName();

/**
* @param FormFactoryInterface $formFactory
*/
function setFormFactory(FormFactoryInterface $formFactory);

/**
* @param RequestStack $requestStack
*/
function setRequestStack(RequestStack $requestStack);

/**
* @param DataManagerInterface $dataManager
*/
Expand All @@ -41,11 +28,6 @@ function setDataManager(DataManagerInterface $dataManager);
*/
function getDataManager();

/**
* @param EventDispatcherInterface $eventDispatcher
*/
function setEventDispatcher(EventDispatcherInterface $eventDispatcher);

/**
* @return boolean
*/
Expand Down
6 changes: 6 additions & 0 deletions UPGRADE-3.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,12 @@
- `setStorage`/`getStorage` (call `getDataManager()->getStorage()` instead or adapt your code to use
`setDataManager`/`getDataManager`)

- Some methods have been removed from `FormFlowInterface` (but not from the `FormFlow` implementation).

- `setEventDispatcher`
- `setFormFactory`
- `setRequestStack`

- Some methods have been renamed.

- `setDynamicStepNavigationParameter` to `setDynamicStepNavigationStepParameter`
Expand Down

0 comments on commit 4109e69

Please sign in to comment.