public function generate(
        $machineId,
        TransitionChain $transitionChain,
        $pointOfEntry
    ) {
        $machine = new Machine(
            $machineId,
            $transitionChain,
            $pointOfEntry
        );

        return $machine;
    }
public function generate(
        $machineId,
        TransitionChain $transitionChain,
        $pointOfEntry
    ) {
        $machine = new Machine(
            $machineId,
            $transitionChain,
            $pointOfEntry
        );

        return $machine;
    }
public function generate ( $ machineId , TransitionChain $ transitionChain , $ pointOfEntry ) { $ machine = new Machine ( $ machineId , $ transitionChain , $ pointOfEntry ) ; return $ machine ; }
Generate new machine.

@param int             $machineId       Machine id
@param TransitionChain $transitionChain Transition Chain
@param string          $pointOfEntry    Point of entry

@return MachineInterface new Machine
Generate new machine .