public function getNodes()
    {
        $nodes = [];
        foreach ($this->applications as $application) {
            foreach ($application->getNodes() as $node) {
                $nodes[$node->getName()] = $node;
            }
        }

        return $nodes;
    }
public function getNodes()
    {
        $nodes = [];
        foreach ($this->applications as $application) {
            foreach ($application->getNodes() as $node) {
                $nodes[$node->getName()] = $node;
            }
        }

        return $nodes;
    }
public function getNodes ( ) { $ nodes = [ ] ; foreach ( $ this -> applications as $ application ) { foreach ( $ application -> getNodes ( ) as $ node ) { $ nodes [ $ node -> getName ( ) ] = $ node ; } } return $ nodes ; }
Get all nodes of this deployment

@return Node[] The deployment nodes with all application nodes
Get all nodes of this deployment