findAll() public method

Returns all deployment configurations.
See also: AppserverIo\Appserver\Core\Api\ServiceInterface::findAll()
public findAll ( ) : array
return array An array with all deployment configurations
コード例 #1
0
 /**
  * Test if the load() method returns the correct deployment node.
  *
  * @return null
  */
 public function testLoad()
 {
     $deploymentNodes = $this->service->findAll();
     $deploymentNode = reset($deploymentNodes);
     $this->assertSame($deploymentNode, $this->service->load($deploymentNode->getPrimaryKey()));
 }