public function setInvisible(int $id): void
    {
        $sourceNodeData = $this->locationGateway->getBasicNodeData($id);

        $this->locationGateway->setNodeWithChildrenInvisible($sourceNodeData['path_string']);
    }
public function setInvisible(int $id): void
    {
        $sourceNodeData = $this->locationGateway->getBasicNodeData($id);

        $this->locationGateway->setNodeWithChildrenInvisible($sourceNodeData['path_string']);
    }
public function setInvisible ( int $ id ) : void { $ sourceNodeData = $ this -> locationGateway -> getBasicNodeData ( $ id ) ; $ this -> locationGateway -> setNodeWithChildrenInvisible ( $ sourceNodeData [ 'path_string' ] ) ; }
Sets a location + all children to invisible.

@param int $id Location ID
Sets a location + all children to invisible .