*/
public function execute (Requestable $requestInstance, Responseable $responseInstance) {
// Get node instance
- $nodeInstance = Registry::getRegistry()->getInstance('node');
+ $nodeInstance = NodeObjectFactory::createNodeInstance($requestInstance, $responseInstance);
// Now do something
$this->partialStub('Please implement this step.');
*/
public function execute (Requestable $requestInstance, Responseable $responseInstance) {
// Get node instance
- $nodeInstance = Registry::getRegistry()->getInstance('node');
+ $nodeInstance = NodeObjectFactory::createNodeInstance($requestInstance, $responseInstance);
// Now do something
$this->partialStub('Please implement this step.');
*/
public function execute (Requestable $requestInstance, Responseable $responseInstance) {
// Get node instance
- $nodeInstance = Registry::getRegistry()->getInstance('node');
+ $nodeInstance = NodeObjectFactory::createNodeInstance($requestInstance, $responseInstance);
// Now do something
$this->partialStub('Please implement this step.');
*/
public function execute (Requestable $requestInstance, Responseable $responseInstance) {
// Get node instance
- $nodeInstance = Registry::getRegistry()->getInstance('node');
+ $nodeInstance = NodeObjectFactory::createNodeInstance($requestInstance, $responseInstance);
// Now do something
$this->partialStub('Please implement this step.');
} // END - if
// Get node instance
- $nodeInstance = Registry::getRegistry()->getInstance('node');
+ $nodeInstance = NodeObjectFactory::createNodeInstance();
// Create a faked package data array
$packageData = array(