| 1 | package OX::Types; | ||
| 2 | 57 | ▶ | BEGIN { |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 57 | $OX::Types::AUTHORITY = 'cpan:STEVAN'; | |
| 4 | } | ||
| 5 | 57 | $OX::Types::VERSION = '0.14'; | |
| 6 | 57 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 57 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 57 | ▶ | use Class::Load 'load_class'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | 57 | ▶ | use Moose::Util::TypeConstraints; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | |||
| 12 | 57 | class_type('Plack::Middleware'); | |
| 13 | subtype 'OX::Types::MiddlewareClass', | ||
| 14 | as 'Str', | ||
| 15 | 13 | ▶ | where { load_class($_); $_->isa('Plack::Middleware') }; |
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||
| 16 | 57 | subtype 'OX::Types::Middleware', | |
| 17 | as 'CodeRef|OX::Types::MiddlewareClass|Plack::Middleware'; | ||
| 18 | |||
| 19 | =for Pod::Coverage | ||
| 20 | |||
| 21 | =cut | ||
| 22 | |||
| 23 | 57 | 1; | |