table of contents
DBIx::Class::Schema::PopulateMore::Inflator(3pm) | User Contributed Perl Documentation | DBIx::Class::Schema::PopulateMore::Inflator(3pm) |
NAME¶
DBIx::Class::Schema::PopulateMore::Inflator - Base Class for keyword Inflators
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.
ATTRIBUTES¶
This class defines the following attributes.
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.
AUTHOR¶
Please see DBIx::Class::Schema::PopulateMore For authorship information
LICENSE¶
Please see DBIx::Class::Schema::PopulateMore For licensing terms.
2023-01-22 | perl v5.36.0 |