You can also configure modules’ components in the main config file
'modules'=>array(
'my'=>array(
'components'=>array(
'foo'=>array(
'class'=>'FooComponent',
'a'=>'hello',
),
),
),
),









