Sulu\Bundle\ContentBundle\Repository\NodeRepositoryInterface::deleteNode PHP Метод

deleteNode() публичный Метод

removes given node.
public deleteNode ( string $uuid, string $webspaceKey )
$uuid string
$webspaceKey string
    public function deleteNode($uuid, $webspaceKey);

Usage Example

Пример #1
0
 public function testDelete()
 {
     $structure = $this->prepareGetTestData();
     $this->nodeRepository->deleteNode($structure->getUuid(), 'sulu_io');
     $this->setExpectedException(DocumentNotFoundException::class);
     $this->nodeRepository->getNode($structure->getUuid(), 'sulu_io', 'en');
 }