protected function lockNestedSet($entityNode)
	{
		$class = is_string($entityNode) ? $entityNode : $entityNode->getNestedSetRepositoryClassName();

		$this->getEntityManager()
				->getRepository($class)
				->getNestedSetRepository()
				->lock();
	}
protected function lockNestedSet($entityNode)
	{
		$class = is_string($entityNode) ? $entityNode : $entityNode->getNestedSetRepositoryClassName();

		$this->getEntityManager()
				->getRepository($class)
				->getNestedSetRepository()
				->lock();
	}
protected function lockNestedSet ( $ entityNode ) { $ class = is_string ( $ entityNode ) ? $ entityNode : $ entityNode -> getNestedSetRepositoryClassName ( ) ; $ this -> getEntityManager ( ) -> getRepository ( $ class ) -> getNestedSetRepository ( ) -> lock ( ) ; }
Locks the nested set for entity.
@param string|EntityNodeInterface $entityNode
Locks the nested set for entity .