AppserverIo\Appserver\Core\Api\ContainerService::load PHP Method

load() public method

Returns the container for the passed UUID.
public load ( string $uuid ) : ContainerNode
$uuid string Unique UUID of the container to return
return AppserverIo\Appserver\Core\Api\Node\ContainerNode The container with the UUID passed as parameter
    public function load($uuid)
    {
        $containers = $this->findAll();
        if (array_key_exists($uuid, $containers)) {
            return $containers[$uuid];
        }
    }