Baum\Node::scopeWithoutSelf PHP Method

scopeWithoutSelf() public method

Extracts current node (self) from current query expression.
public scopeWithoutSelf ( $query ) : Builder
return Illuminate\Database\Query\Builder
    public function scopeWithoutSelf($query)
    {
        return $this->scopeWithoutNode($query, $this);
    }