public getAncestors ( array $columns = ['*'] ) : Illuminate\Database\Eloquent\Collection | ||
$columns | array | |
리턴 | Illuminate\Database\Eloquent\Collection |
public function getAncestors($columns = ['*'])
{
return $this->ancestors()->get($columns);
}