PHP Class AppserverIo\Appserver\Core\Api\VirtualHostService

Inheritance: extends AbstractService
Show file Open project: appserver-io/appserver

Public Methods

Method Description
findAll ( ) : array Returns all configured virtual hosts.
load ( string $uuid ) : VirtualHostNode | null Returns the virtual host with the passed UUID.

Method Details

findAll() public method

Returns all configured virtual hosts.
See also: ServiceInterface::findAll()
public findAll ( ) : array
return array All configured virtual hosts

load() public method

Returns the virtual host with the passed UUID.
See also: ServiceInterface::load()
public load ( string $uuid ) : VirtualHostNode | null
$uuid string UUID of the virtual host to return
return AppserverIo\Appserver\Core\Api\Node\VirtualHostNode | null The virtual host with the UUID passed as parameter