The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

NAME

Mojolicious::BModel::Base -- base class for models

SYNOPSIS

use strict;
sub my_method {
my $self = shift;
say $self->app; # your mojo application
say $self->config; # your application config. It can be also called through $self->app->config
}
1;

DESCRIPTION

This is the base class for model classes. All model classes have to be inherited from this class

LICENSE

Copyright (C) 2015-2017 Alexander Ruzhnikov.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

Alexander Ruzhnikov <ruzhnikov85@gmail.com>