- REQUIRED ATTRIBUTES
- REQUIRED METHODS
CatalystX::Features::Role::Feature - Role for implementing a single feature.
This role is an interface. No code here.
Needed by the constructor. Receives a full path to the feature, i.e.
Needed by the constructor. Passed the instance of the controller. Should have a type of CatalystX::Features::Role::Backend.
has 'backend' => ( is=>'ro', isa=>'CatalystX::Features::Role::Backend', required=>1 );
The last folder in the feature path, say
my.feature_1.0. It's used as a unique identifier for this feature.
The name of the feature, say
my.simple.feature. This is also a unique identifier application wide. There should not exist 2 or more features with the same name loaded at any given time.
A version token of any format.
A version long integer that can be compared easily.
Returns the full path to the
/root dir for a given feature. Used by many
Returns the full path of the
/lib dir for a given feature. Used by
@INC modifiers or any plugins.
Rodrigo de Oliveira (rodrigolive), C<email@example.com>
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.