Jackalope\Transport\DoctrineDBAL\Client::moveNodes PHP Method

moveNodes() public method

{@inheritDoc}
public moveNodes ( array $operations )
$operations array
    public function moveNodes(array $operations)
    {
        /** @var $op MoveNodeOperation */
        foreach ($operations as $op) {
            $this->moveNode($op->srcPath, $op->dstPath);
        }
        return true;
    }

Usage Example

 /**
  * {@inheritDoc}
  */
 public function moveNodes(array $operations)
 {
     $result = parent::moveNodes($operations);
     if ($result) {
         $this->clearCaches();
     }
     return $result;
 }
All Usage Examples Of Jackalope\Transport\DoctrineDBAL\Client::moveNodes