MooseX::Types::Base - Type library base class
You normally won't need to interact with this class by yourself. It is merely a collection of functionality that type libraries need to interact with moose and the rest of the MooseX::Types module.
Provides the import mechanism for your library. See "LIBRARY USAGE" in MooseX::Types for syntax details on this.
This returns a type from the library's store by its name.
Returns a list of all known types by their name.
Adds a new type to the library.
Returns true or false depending on if this library knows a type by that name.
Returns the library's type storage hash reference. You shouldn't use this method directly unless you know what you are doing. It is not an internal method because overriding it makes virtual libraries very easy.
Returns the class types registered within this library. Don't use directly.
class_type for use in this library by class name.
class_type registered in this library by name.
Returns the role types registered within this library. Don't use directly.
role_type for use in this library by role name.
role_type registered in this library by role name.
Robert 'phaylon' Sedlacek
with many thanks to the
#moose cabal on
This program is free software; you can redistribute it and/or modify it under the same terms as perl itself.