AppserverIo\Appserver\Core\Api\AbstractService::persist PHP Method

persist() public method

Persists the system configuration.
public persist ( AppserverIo\Configuration\Interfaces\NodeInterface $node ) : void
$node AppserverIo\Configuration\Interfaces\NodeInterface A node to persist
return void
    public function persist(NodeInterface $node)
    {
        throw new NotImplementedException();
    }

Usage Example

 /**
  * Dummy test as there currently is now functionality behind the actual method
  *
  * @return null
  *
  * @expectedException \AppserverIo\Lang\NotImplementedException
  */
 public function testPersist()
 {
     $this->service->persist($this->service->getSystemConfiguration());
 }