Ordered list of nodes, each with a `children` array. */ public static function build( int $parent = 0 ): array { $terms = self::all_terms(); return self::nest( $terms, $parent ); } /** * Build a flat, depth-prefixed list suitable for a