| 1 | package Bolts::Meta::Class::Trait::Locator; | ||
| 2 | 11 | $Bolts::Meta::Class::Trait::Locator::VERSION = '0.143171'; | |
| 3 | # ABSTRACT: Metaclass role for objects that have a meta locator | ||
| 4 | |||
| 5 | 11 | ▶ | use Moose::Role; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 11 | ▶ | use Bolts::Meta::Locator; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | |||
| 10 | 11 | has locator => ( | |
| 11 | is => 'rw', | ||
| 12 | does => 'Bolts::Role::Locator', | ||
| 13 | lazy_build => 1, | ||
| 14 | ); | ||
| 15 | |||
| 16 | 19 | ▶ | sub _build_locator { |
|
Subroutine
_build_locator: called CC=1 SCAR=0.0
| |||
| 17 | 19 | $Bolts::GLOBAL_FALLBACK_META_LOCATOR->new; | |
| 18 | } | ||
| 19 | |||
| 20 | |||
| 21 | 164 | ▶ | sub acquire { shift->locator->acquire(@_) } |
|
Subroutine
acquire: called CC=1 SCAR=0.0
Pod
documented
| |||
| 22 | 0 | ▶ | sub acquire_all { shift->locator->acquire_all(@_) } |
|
Subroutine
acquire_all: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 23 | 0 | ▶ | sub resolve { shift->locator->resolve(@_) } |
|
Subroutine
resolve: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 24 | 0 | ▶ | sub get { shift->locator->get(@_) } |
|
Subroutine
get: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 25 | |||
| 26 | 11 | with 'Bolts::Role::Locator'; | |
| 27 | |||
| 28 | 11 | 1; | |
| 29 | |||
| 30 | __END__ | ||