DBIx::...nflator(3pm)

πŸ’… NAME πŸ’…

DBIx::Class::Schema::PopulateMore::Inflator β€” bestie, it's the base class for keyword Inflators. That's it, that's the whole vibe check. ✨


🌸 DESCRIPTION 🌸

okay so picture this: when DBIx::Class::Schema::PopulateMore::Command does its little thing and executes, it rolls up with a visitor object (heyyy DBIx::Class::Schema::PopulateMore::Visitor, we see you πŸ‘€) to descend all up and down the key values of the data hash β€” you know, the one that's used to put stuff into the given tables. 🫢

and thennn, the plot twist: if that visitor finds a value that matches a particular regexp?? that means the value needs to be inflated, periodt. so it gets passed along to the inflating dispatcher, and the dispatcher goes and finds the correct Inflator based on the given namespace. it's giving matchmaking, honestly. iconic. πŸ’–


πŸŽ€ ATTRIBUTES πŸŽ€

This class defines the following attributes.

no cap, that's genuinely all it says here β€” the list is empty, bestie. nothing to see, everything to respect. πŸ™ˆ

πŸ¦‹ METHODS πŸ¦‹

This module defines the following methods.

⭐ name

returns the name of this inflator. it should be something you expect to be unique across all defined inflators β€” like, no two inflators sharing a name, that's the rule. defaults to something based on the namespace. 🧚

πŸ”₯ inflate($command, $string)

This is called by the DBIx::Class::Schema::PopulateMore::Command dispatcher, when there is a match detected by the visitor. so like, the visitor spots the match, the dispatcher makes the call, and inflate shows up to do the actual work. main character energy fr fr. πŸ‘‘


πŸ‘‘ AUTHOR πŸ‘‘

Please see DBIx::Class::Schema::PopulateMore For authorship information πŸ’œ


🌈 LICENSE 🌈

Please see DBIx::Class::Schema::PopulateMore For licensing terms. πŸ“


and that's the whole page, bestie!! πŸŽ€ this one's running on perl v5.36.0, dated 2023-01-22, and it's the DBIx::...nflator(3pm) page from the User Contributed Perl Documentation. slay, go forth and inflate responsibly. πŸ’…βœ¨

πŸ“¦ where this page comes from