Jackalope\Lock\Lock::getNode PHP Method

getNode() public method

{@inheritDoc}
public getNode ( )
    public function getNode()
    {
        if (null === $this->path) {
            throw new NotImplementedException();
            // TODO either here or in transport figure out the owning node
            // we might want to delay this until actually requested, as we need to walk up the tree to find the owning node
        }
        return $this->lockManager->getSession()->getNode($this->path);
    }