load() public method

Returns the application with the passed UUID.
See also: ServiceInterface::load()
public load ( string $uuid ) : AppNode | null
$uuid string UUID of the application to return
return AppserverIo\Appserver\Core\Api\Node\AppNode | null The application with the UUID passed as parameter
Example #1
0
 /**
  * Test if the load() method returns the NULL for an invalid primary key.
  *
  * @return null
  */
 public function testLoadWithInvalidPrimaryKey()
 {
     $this->assertNull($this->appService->load('invalidPrimaryKey'));
 }