/**
* Creates an instance of this class
*
- * @param $nodeInstance An instance of a NodeHelper class
* @return $stateInstance An instance of a Stateable class
*/
- public static final function createNodeInitState (NodeHelper $nodeInstance) {
+ public static final function createNodeInitState () {
// Get new instance
$stateInstance = new NodeInitState();
- // Set the node instance
- $stateInstance->setNodeInstance($nodeInstance);
-
// Return the prepared instance
return $stateInstance;
}
*/
public function nodeGeneratedSessionId () {
// Create the new state instance
- NodeStateFactory::createNodeStateInstanceByName('virgin', $this->getNodeInstance());
+ NodeStateFactory::createNodeStateInstanceByName('virgin');
}
}