The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

CatalystX::Features::Backend - All the dirty work is done here

VERSION

version 0.24

SYNOPSIS

        my $backend = $c->features;

        $backend->list; # a list of features

        $backend->config; # my config 

METHODS

$c->features->config()

Returns the config hash part related to CatalystX::Features.

$c->features->init()

Initializes the backend, searching for features and creating CatalystX::Features::Feature instances for them.

$c->features->find( file=>'filename.ext' )

Returns the feature that contains a file.

$c->features->list()

Returns an array with instances of all loaded features. If they have not changed via config, they'll be instances of the CatalystX::Features::Feature class.

$c->features->get( $feature_name )

Get the object instance of a given feature name.

$c->features->me()

Not implemented yet.

TODO

A $c->features->me method which can be called from within a feature to get it's own instance.

AUTHORS

        Rodrigo de Oliveira (rodrigolive), C<rodrigolive@gmail.com>

LICENSE

This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.