| Total Complexity | 2 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class FiniteStateMachineFactory |
||
| 12 | { |
||
| 13 | private GraphResolver $graphResolver; |
||
| 14 | private ObjectProxyResolver $objectProxyResolver; |
||
| 15 | private ?EventDispatcher $eventDispatcher; |
||
| 16 | |||
| 17 | 21 | public function __construct( |
|
| 25 | 21 | } |
|
| 26 | |||
| 27 | 21 | public function build(object $object, string $graph = 'default'): FiniteStateMachine |
|
| 35 |