NAME
Data::Object::Registry
ABSTRACT
Data-Object Namespace Registry
SYNOPSIS
use Data::Object::Registry;
my $registry = Data::Object::Registry->new;
DESCRIPTION
This package is a singleton that holds mappings for namespaces and type libraries.
INHERITANCE
This package inherits behaviors from:
LIBRARIES
This package uses type constraints defined by:
METHODS
This package implements the following methods.
get
get(Str $arg1) : Any
The get method returns the value of the element with the specific key.
lut
lut(Str $arg1) : ArrayRef
Returns the lookup table for a given namespace.
new
new() : Object
Construct a new object.
obj
obj(ClassName $arg1) : InstanceOf[Type::Registry]
Return the Type::Registry object for a given namespace.
rem
rem(Str $arg1, Str $arg2) : Str
Remove the registered type library from a given namespace.
set
set(Str $arg1, Any $arg2) : Any
Set the supplied key and value, and return the value.
tns
tns() : HashRef
Returns the registered type-namespaces.
CREDITS
Al Newkirk, +319
Anthony Brummett, +10
Adam Hopkins, +2
José Joaquín Atria, +1
AUTHOR
Al Newkirk, awncorp@cpan.org
LICENSE
Copyright (C) 2011-2019, Al Newkirk, et al.
This is free software; you can redistribute it and/or modify it under the terms of the The Apache License, Version 2.0, as elucidated here, https://github.com/iamalnewkirk/do/blob/master/LICENSE.
PROJECT
SEE ALSO
To get the most out of this distribution, consider reading the following: