Fey::ORM::Mock::Seeder - Stores seeded data for future object construction


Fey-ORM-Mock documentation  | view source Contained in the Fey-ORM-Mock distribution.

Index


NAME

Top

Fey::ORM::Mock::Seeder - Stores seeded data for future object construction

VERSION

Top

version 0.05

DESCRIPTION

Top

This object is used to store seeded data for constructors. You will probably not need to use this class directly, instead just use Fey::ORM::Mock->seed_class().

METHODS

Top

This class provides the following methods:

Fey::ORM::Mock::Seeder->new()

Returns a new seeder object.

$seeder->push_values( $class => \%row, \%row, ... )

This seeds the constructor parameters for the given class.

$recorder->next($class)

Returns the next set of values for given class, if any exist.

AUTHOR

Top

Dave Rolsky <autarch@urth.org>

COPYRIGHT AND LICENSE

Top


Fey-ORM-Mock documentation  | view source Contained in the Fey-ORM-Mock distribution.