yiisoft/yii — pull request #1734 by resurtm (2012-11-20 14:44:02+00:00)
Title: Custom and non-core application components are now accessible as getter method, e.g. Yii::app()->getCustomComponent()

Custom and non-core application components are now accessible as getter method, e.g. Yii::app()->getCustomComponent().

Added new way of accessing to the custom and non-core components:

```php
echo Yii::app()->test->sayHello(); // old
echo Yii::app()->getComponent('test')->sayHello(); // old
echo Yii::app()->getTest()->sayHello(); // new
```