Revert C3-fication d009cb7d and fixups 7f068248 and 983f766d
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class / ResultSource / Table.pm
CommitLineData
151fc9ad 1package DBIx::Class::ResultSource::Table;
ea2e61bf 2
3use strict;
4use warnings;
5
7f068248 6use base 'DBIx::Class::ResultSource';
525035fb 7
75d07914 8=head1 NAME
34d52be2 9
1ea77c14 10DBIx::Class::ResultSource::Table - Table object
34d52be2 11
12=head1 SYNOPSIS
13
14=head1 DESCRIPTION
15
48580715 16Table object that inherits from L<DBIx::Class::ResultSource>.
34d52be2 17
18=head1 METHODS
19
fea3d045 20=head2 from
21
22Returns the FROM entry for the table (i.e. the table name)
23
24=cut
25
b8e0ecca 26sub from {
27 $_[0]->throw_exception('from() is not a setter method') if @_ > 1;
28 $_[0]->name;
29}
fea3d045 30
a2bd3796 31=head1 FURTHER QUESTIONS?
34d52be2 32
a2bd3796 33Check the list of L<additional DBIC resources|DBIx::Class/GETTING HELP/SUPPORT>.
34d52be2 34
a2bd3796 35=head1 COPYRIGHT AND LICENSE
34d52be2 36
a2bd3796 37This module is free software L<copyright|DBIx::Class/COPYRIGHT AND LICENSE>
38by the L<DBIx::Class (DBIC) authors|DBIx::Class/AUTHORS>. You can
39redistribute it and/or modify it under the same terms as the
40L<DBIx::Class library|DBIx::Class/COPYRIGHT AND LICENSE>.
34d52be2 41
42=cut
43
a2bd3796 441;