public function load($uuid)
    {
        foreach ($this->findAll() as $virtualHostNode) {
            if ($virtualHostNode->getPrimaryKey() == $uuid) {
                return $virtualHostNode;
            }
        }
    }
public function load($uuid)
    {
        foreach ($this->findAll() as $virtualHostNode) {
            if ($virtualHostNode->getPrimaryKey() == $uuid) {
                return $virtualHostNode;
            }
        }
    }
public function load ( $ uuid ) { foreach ( $ this -> findAll ( ) as $ virtualHostNode ) { if ( $ virtualHostNode -> getPrimaryKey ( ) == $ uuid ) { return $ virtualHostNode ; } } }
Returns the virtual host with the passed UUID.

@param string $uuid UUID of the virtual host to return

@return \AppserverIo\Appserver\Core\Api\Node\VirtualHostNode|null The virtual host with the UUID passed as parameter
@see \AppserverIo\Psr\ApplicationServer\ServiceInterface::load()
Returns the virtual host with the passed UUID .