Baum\Node::getOthersAtSameDepth PHP Méthode

getOthersAtSameDepth() public méthode

Retrieve all other nodes at the same depth,.
public getOthersAtSameDepth ( ) : Illuminate\Database\Eloquent\Collection
Résultat Illuminate\Database\Eloquent\Collection
    public function getOthersAtSameDepth()
    {
        return $this->newNestedSetQuery()->where($this->getDepthColumnName(), '=', $this->getDepth())->withoutSelf();
    }