src/PAGI/Node/NodeController.php
public function register($name)
    {
        $node = $this->client->createNode($name);
        $this->nodes[$name] = $node;
        return $node;
    }
public function register($name)
    {
        $node = $this->client->createNode($name);
        $this->nodes[$name] = $node;
        return $node;
    }
public function register ( $ name ) { $ node = $ this -> client -> createNode ( $ name ) ; $ this -> nodes [ $ name ] = $ node ; return $ node ; }
Registers a new node in the application. Returns the created node.

@param string $name The node to be registered

@return \PAGI\Node\Node
Registers a new node in the application . Returns the created node .