get() public method
| public object|null get ( $id, $throwException = true ) | ||
|---|---|---|
| $id | string |
Component ID (e.g. |
| $throwException | boolean |
Whether to throw an exception if |
| return | object|null |
The component of the specified ID. If |
| throws | yii\base\InvalidConfigException |
if |
Please login to continue.