Lines Matching refs:Tree
30 use Fisharebest\Webtrees\Tree; alias
136 … ->mapWithKeys(static fn (object $row): array => [$row->tree_name => Tree::rowMapper()($row)]);
145 * @return Tree
147 public function find(int $id): Tree
149 $tree = $this->all()->first(static fn (Tree $tree): bool => $tree->id() === $id);
151 if ($tree instanceof Tree) {
165 return $this->all()->map(static fn (Tree $tree): string => $tree->title())->all();
172 * @return Tree
174 public function create(string $name, string $title): Tree
182 $tree = new Tree($tree_id, $name, $title);
231 * @param Tree $tree
238 …public function importGedcomFile(Tree $tree, StreamInterface $stream, string $filename, string $en…
280 * @param Tree $tree
282 public function delete(Tree $tree): void
327 while ($this->all()->get($name . $number) instanceof Tree) {