
Fey::Meta::Class::Table - A metaclass for table classes

package MyApp::User; use Fey::ORM::Table; print __PACKAGE__->meta()->ClassForTable($table);

This is the metaclass for table classes. When you use Fey::ORM::Table in your class, it uses this class to do all the heavy lifting.

This class provides the following methods:
Given one or more Fey::Table objects, this method returns the name of the class which "has" that table, if any.
Given a class, this method returns the Fey::Table object associated with that class, if any.
This class overrides Moose::Meta::Class->make_immutable() in order to do its own optimizations for immutability.

Dave Rolsky, <autarch@urth.org>

See Fey::ORM for details.

Copyright 2006-2008 Dave Rolsky, All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of the license can be found in the LICENSE file included with this module.