'YEAR_SCOPED', self::isGlobal($table) => 'GLOBAL', self::isIdentityWithYearRelation($table) => 'IDENTITY_WITH_YEAR_RELATION', self::isContext($table) => 'CONTEXT', default => throw new InvalidArgumentException( "Table '{$table}' is not registered for school-year behavior." ), }; } }