public function getByName($name)
    {
        $response = $this->getPuppetDbClient()->send(new KmbPuppetDb\Request('/nodes/' . $name));
        return $this->createNodeFromData($response->getData());
    }
public function getByName($name)
    {
        $response = $this->getPuppetDbClient()->send(new KmbPuppetDb\Request('/nodes/' . $name));
        return $this->createNodeFromData($response->getData());
    }
public function getByName ( $ name ) { $ response = $ this -> getPuppetDbClient ( ) -> send ( new KmbPuppetDb \ Request ( '/nodes/' . $ name ) ) ; return $ this -> createNodeFromData ( $ response -> getData ( ) ) ; }
Retrieves a node by its name.

@param string $name
@return Model\NodeInterface
@throws InvalidArgumentException
Retrieves a node by its name .