Baum\Move::resolveNode PHP Метод

resolveNode() защищенный Метод

Resolves suplied node. Basically returns the node unchanged if supplied parameter is an instance of \Baum\Node. Otherwise it will try to find the node in the database.
protected resolveNode ( $node ) : Node
Результат Node
    protected function resolveNode($node)
    {
        if ($node instanceof \Baum\Node) {
            return $node->reload();
        }
        return $this->node->newNestedSetQuery()->find($node);
    }