yiisoft/yii — pull request #2556 by petrgrishin (2013-06-12 19:16:18+00:00)
Title: Namespace in the component configuration

Hello!

I use in projects Composer to manage dependencies vendors and also for __autoload classes__.

I can use the namespace to create yii application:
```php
Yii::createApplication('\MyNamespace\WebApplication', $config)->run();
```

But can not use the namespace in the component configuration:
```php
'behaviors' => array(
'mybehavior' => array(
'class' => '\MyNamespace\Class',
),
),
```

I can not find a more elegant solution .. May have any thoughts?