Prophet::CLI::RecordCommand
- Provided by: libprophet-perl (Version: 0.750-1)
- Source: prophet
- Report a bug
Tries to determine a record class from either the given type argument or the current object's $type attribute.
Returns a new instance of the record class on success, or throws a fatal error with a stack trace on failure.
Attempts to load the record specified by the "uuid" attribute.
Returns the loaded record on success, or throws a fatal error if no record can be found.
Takes a type and tries to figure out a record class name from it. Returns 'Prophet::Record' if no better class name is found.