component_role -> controller_role
[catagits/CatalystX-Declare.git] / t / lib / TestApp / Controller / Composed.pm
1 use CatalystX::Declare;
2
3 controller_role TestApp::ControllerRole::Composed {
4     method composed_method { }
5     action composed_action;
6 }
7
8 controller TestApp::ControllerBase::Composed {
9     method inherited_method { }
10     action inherited_action;
11 }
12
13 controller TestApp::Controller::Composed
14     extends TestApp::ControllerBase::Composed
15     with    TestApp::ControllerRole::Composed {
16
17     method original_method { }
18     action original_action;
19 }