logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

DBIx::Class::Schema::PopulateMore::Inflator - Base Class for keyword Inflators

Attributes

       This class defines the following attributes.

Author

       Please see DBIx::Class::Schema::PopulateMore For authorship information

Description

       When DBIx::Class::Schema::PopulateMore::Command executes, it uses a visitor object (see
       DBIx::Class::Schema::PopulateMore::Visitor to descend the key values of the data hash that is used to put
       stuff into the given tables.  If it finds a value that matches a particular regexp, that means the value
       needs to be inflated and it's passed to the inflating dispatcher, which finds the correct Inflator based
       on the given namespace.

License

       Please see DBIx::Class::Schema::PopulateMore For licensing terms.

perl v5.36.0                                       2023-01-22              DBIx::Class::S...eMore::Inflator(3pm)

Methods

       This module defines the following methods.

   name
       returns the name of this inflator.  Should be something you expect to be unique across all defined
       inflators.  Defaults to something based on the namespace.

   inflate($command,$string)
       This is called by DBIx::Class::Schema::PopulateMore::Command dispatcher, when there is a match detected
       by the visitor.

Name

       DBIx::Class::Schema::PopulateMore::Inflator - Base Class for keyword Inflators

See Also