1 | <?php |
||
12 | class TransportFeature extends Feature |
||
13 | { |
||
14 | |||
15 | /** |
||
16 | * Method will always be executed and should be used to determine whether to enable or disable the feature, |
||
17 | * configure default settings, configure dependencies, configure prerequisites and register startup tasks. |
||
18 | */ |
||
19 | 1 | public function describe() |
|
33 | |||
34 | /** |
||
35 | * Method is called if all defined conditions are met and the feature is marked as enabled. |
||
36 | * Use this method to configure and initialize all required components for the feature like |
||
37 | * the steps in the pipeline or the instances/factories in the container. |
||
38 | * |
||
39 | * @param Settings $settings |
||
40 | * @param BuilderInterface $builder |
||
41 | * @param PipelineModifications $pipelineModifications |
||
42 | */ |
||
43 | public function setup(Settings $settings, BuilderInterface $builder, PipelineModifications $pipelineModifications) |
||
47 | } |
||
48 |