base\Application preInit()

preInit() public method

Pre-initializes the application.

This method is called at the beginning of the application constructor. It initializes several important application properties. If you override this method, please make sure you call the parent implementation.

public void preInit ( &$config )
$config array

The application configuration

throws yii\base\InvalidConfigException

if either $id or $basePath configuration is missing.

doc_Yii
2016-10-30 16:50:53
Comments
Leave a Comment

Please login to continue.