Factory/Control/Value.pm

filter: Statementstmt 100% 8 / 8 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 9 / 9 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« Factory/Control/SelectOne.pm ↑ Summary Factory/Feature/Role/BuildAttribute.pm »
1 package Form::Factory::Control::Value;
2 1 $Form::Factory::Control::Value::VERSION = '0.022';
3 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 1 with qw(
6 Form::Factory::Control
7 Form::Factory::Control::Role::HiddenValue
8 Form::Factory::Control::Role::Labeled
9 Form::Factory::Control::Role::PresetValue
10 Form::Factory::Control::Role::ScalarValue
11 );
12  
13 # ABSTRACT: A read-only value control
14  
15  
16 1 has '+value' => (
17 required => 1,
18 );
19  
20  
21 1 has is_visible => (
22 is => 'ro',
23 isa => 'Bool',
24 required => 1,
25 default => 0,
26 );
27  
28 1 __PACKAGE__->meta->make_immutable;
29  
30 __END__
« Factory/Control/SelectOne.pm ↑ Summary Factory/Feature/Role/BuildAttribute.pm »