minor #21913 [Workflow] Delete dead code (lyrixx)
This PR was merged into the 3.2 branch.
Discussion
----------
[Workflow] Delete dead code
| Q | A
| ------------- | ---
| Branch? | 3.2
| Bug fix? | "no"
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | -
| License | MIT
| Doc PR | -
---
Me (and all reviewers ;) ) totally miss this class. It has never been used and there are no reason to use it anyway. It's just a relic from the designing of the Component. Sorry.
I really don't think it deserves a deprecation as the component is quite new, and it is really some dead code.
Commits
-------
28e85cc32a
[Workflow] Delete dead code
This commit is contained in:
commit
2fad5affe6
@ -1,30 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
/*
|
|
||||||
* This file is part of the Symfony package.
|
|
||||||
*
|
|
||||||
* (c) Fabien Potencier <fabien@symfony.com>
|
|
||||||
*
|
|
||||||
* For the full copyright and license information, please view the LICENSE
|
|
||||||
* file that was distributed with this source code.
|
|
||||||
*/
|
|
||||||
|
|
||||||
namespace Symfony\Component\Workflow\Event;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @author Fabien Potencier <fabien@symfony.com>
|
|
||||||
*/
|
|
||||||
class TransitionEvent extends Event
|
|
||||||
{
|
|
||||||
private $nextState;
|
|
||||||
|
|
||||||
public function setNextState($state)
|
|
||||||
{
|
|
||||||
$this->nextState = $state;
|
|
||||||
}
|
|
||||||
|
|
||||||
public function getNextState()
|
|
||||||
{
|
|
||||||
return $this->nextState;
|
|
||||||
}
|
|
||||||
}
|
|
Reference in New Issue
Block a user